Skip to content

Commit 242f632

Browse files
committed
nix: bump GHC tooling for 9.12
1 parent 2c484df commit 242f632

2 files changed

Lines changed: 14 additions & 8 deletions

File tree

nix/pkgs.nix

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,19 @@ in with final;
4040
}
4141
;
4242

43-
cabal = haskell-nix.cabal-install.${compiler-nix-name};
43+
cabal = haskell-nix.tool compiler-nix-name "cabal" {
44+
version = "latest";
45+
index-state = "2025-10-17T00:26:22Z";
46+
};
4447

45-
hlint = haskell-nix.tool "ghc96" "hlint" {
46-
version = "3.8";
47-
index-state = "2025-04-22T00:00:00Z";
48+
hlint = haskell-nix.tool compiler-nix-name "hlint" {
49+
version = "latest";
50+
index-state = "2025-10-17T00:26:22Z";
4851
};
4952

5053
ghcid = haskell-nix.tool compiler-nix-name "ghcid" {
51-
version = "0.8.7";
52-
index-state = "2024-12-24T12:56:48Z";
54+
version = "latest";
55+
index-state = "2025-10-17T00:26:22Z";
5356
};
5457

5558
# The ghc-hls point release compatibility table is documented at:
@@ -64,6 +67,7 @@ in with final;
6467
ghc963 = haskell-nix.sources."hls-2.5";
6568
ghc964 = haskell-nix.sources."hls-2.6";
6669
ghc981 = haskell-nix.sources."hls-2.6";
70+
ghc912 = haskell-nix.sources."hls-2.12";
6771
}.${compiler-nix-name} or haskell-nix.sources."hls-2.10";
6872
cabalProject = readFile (src + "/cabal.project");
6973
sha256map."https://github.com/pepeiborra/ekg-json"."7a0af7a8fd38045fd15fb13445bdcc7085325460" = "sha256-fVwKxGgM0S4Kv/4egVAAiAjV7QB5PBqMVMCfsv7otIQ=";
@@ -74,9 +78,10 @@ in with final;
7478
index-state = "2024-12-24T12:56:48Z";
7579
};
7680

81+
# profiteur package is in dire need of a maintenance release / package bumps for GHC9.12. Excluding it for now.
7782
profiteur = haskell-nix.tool compiler-nix-name "profiteur" {
7883
cabalProjectLocal = ''
79-
allow-newer: profiteur:base, ghc-prof:base
84+
allow-newer: profiteur:base, profiteur:text, profiteur:aeson, ghc-prof:base
8085
'';
8186
};
8287

nix/workbench/shell.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ project.shellFor {
103103
weeder
104104
nix
105105
(pkgs.pkg-config or pkgconfig)
106-
pkgs.profiteur
106+
# profiteur package is in dire need of a maintenance release / package bumps for GHC9.12. Excluding it for now.
107+
# pkgs.profiteur
107108
profiterole
108109
ghc-prof-flamegraph
109110
sqlite-interactive

0 commit comments

Comments
 (0)