Skip to content

Commit ab435f0

Browse files
authored
Fix cabal-install for ghc head (input-output-hk#2104)
1 parent 967914b commit ab435f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cabal-project.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ in {
2525
ghc99FullName = pkgs.haskell-nix.resolve-compiler-name "ghc99";
2626
in
2727
# cabal-install from hackage (3.10.1.0) does not build with GHC HEAD
28-
if fullName == ghc99FullName && config.name == "cabal-install" && config.version == "3.10.1.0"
28+
if fullName == ghc99FullName && config.name == "cabal-install" && (builtins.elem config.version ["3.10.1.0" "3.10.2.0"])
2929
then "ghc963"
3030
else pkgs.haskell-nix.resolve-compiler-name name;
3131
};

0 commit comments

Comments
 (0)