Skip to content

Commit 42170ee

Browse files
authored
ghc: 9.6.7, hls: 2.11.0.0 (#2062)
Update haskell.nix and CHaP. The arguments to shellFor have changed. Update ghc to 9.6.7. Update hls to 2.11.0.0.
2 parents 8b00678 + 8b0a59f commit 42170ee

File tree

4 files changed

+57
-38
lines changed

4 files changed

+57
-38
lines changed

cabal.project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ repository cardano-haskell-packages
1212

1313
-- See CONTRIBUTING.md for information about when and how to update these.
1414
index-state:
15-
, hackage.haskell.org 2025-05-27T12:29:12Z
16-
, cardano-haskell-packages 2025-05-28T12:02:33Z
15+
, hackage.haskell.org 2025-06-11T21:55:55Z
16+
, cardano-haskell-packages 2025-06-12T11:07:25Z
1717

1818
packages: **/*.cabal
1919

flake.lock

Lines changed: 41 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
];
3939
perSystem = { config, lib, system, ... }:
4040
let
41-
compiler = "ghc966";
41+
compiler = "ghc967";
4242

4343
# nixpkgs enhanced with haskell.nix and crypto libs as used by iohk
4444

@@ -63,10 +63,10 @@
6363
inherit (inputs.aiken.packages.${system}) aiken;
6464
apply-refact = final.haskell-nix.tool compiler "apply-refact" "0.15.0.0";
6565
cabal-install = final.haskell-nix.tool compiler "cabal-install" "3.10.3.0";
66-
cabal-plan = final.haskell-nix.tool compiler "cabal-plan" "0.7.5.0";
66+
cabal-plan = final.haskell-nix.tool compiler "cabal-plan" { version = "0.7.5.0"; cabalProjectLocal = "package cabal-plan\nflags: +exe"; };
6767
cabal-fmt = config.treefmt.programs.cabal-fmt.package;
6868
fourmolu = config.treefmt.programs.fourmolu.package;
69-
haskell-language-server = final.haskell-nix.tool compiler "haskell-language-server" "2.9.0.0";
69+
haskell-language-server = final.haskell-nix.tool compiler "haskell-language-server" "2.11.0.0";
7070
weeder = final.haskell-nix.tool compiler "weeder" "2.9.0";
7171
inherit (inputs.cardano-node.packages.${system}) cardano-cli;
7272
inherit (inputs.cardano-node.packages.${system}) cardano-node;

nix/hydra/shell.nix

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,12 @@ let
6767
pkgs.systemd
6868
];
6969

70-
haskellNixShell = hsPkgs.shellFor {
70+
haskellNixShell = (hsPkgs.shellFor {
7171
buildInputs = libs ++ buildInputs;
7272

7373
withHoogle = true;
7474

7575
# Always create missing golden files
76-
CREATE_MISSING_GOLDEN = 1;
77-
78-
# Force a UTF-8 locale because many Haskell programs and tests
79-
# assume this.
80-
LANG = "en_US.UTF-8";
81-
82-
GIT_SSL_CAINFO = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
83-
8476
shellHook = ''
8577
if ! which cardano-node > /dev/null 2>&1; then
8678
echo "WARNING: 'cardano-node' not found"
@@ -89,6 +81,16 @@ let
8981
echo "WARNING: 'cardano-cli' not found"
9082
fi
9183
'';
84+
}).overrideAttrs {
85+
86+
CREATE_MISSING_GOLDEN = 1;
87+
88+
# Force a UTF-8 locale because many Haskell programs and tests
89+
# assume this.
90+
LANG = "en_US.UTF-8";
91+
92+
GIT_SSL_CAINFO = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
93+
9294
};
9395

9496
# A "cabal-only" shell which does not use haskell.nix

0 commit comments

Comments
 (0)