Skip to content

Commit 390a0f0

Browse files
committed
skip hls and hlint for ghc 9.0.1
1 parent f8cbca5 commit 390a0f0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ in rec {
2020
tests = import ./test/default.nix { inherit pkgs ifdLevel compiler-nix-name; };
2121

2222
tools = pkgs.lib.optionalAttrs (ifdLevel >= 3) (
23-
pkgs.recurseIntoAttrs {
23+
pkgs.recurseIntoAttrs ({
2424
cabal-latest = tool compiler-nix-name "cabal" "latest";
25+
} // pkgs.lib.optionalAttrs (compiler-nix-name != "ghc901") {
2526
hls-latest = tool compiler-nix-name "haskell-language-server" "latest";
2627
hlint-latest = tool compiler-nix-name "hlint" (if compiler-nix-name == "ghc865" then "3.2.7" else "latest");
27-
}
28+
})
2829
);
2930

3031
# Scripts for keeping Hackage and Stackage up to date, and CI tasks.

0 commit comments

Comments
 (0)