Skip to content

Commit 6a94c4b

Browse files
committed
survey: Add more ghc -> cabal version mappings.
Even though these compilers may not exist in nixpkgs yet or not work well yet.
1 parent 4744529 commit 6a94c4b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

survey/default.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ in
3737
# When changing this, also change the default version of Cabal declared below
3838
compiler ? "ghc8104",
3939

40-
# See https://www.haskell.org/cabal/download.html section "Older Releases".
40+
# See:
41+
# * https://www.snoyman.com/base/
42+
# * https://www.haskell.org/cabal/download.html
43+
# section "Older Releases"
4144
defaultCabalPackageVersionComingWithGhc ?
4245
({
4346
ghc822 = "Cabal_2_2_0_1"; # TODO this is technically incorrect for ghc 8.2.2, should be 2.0.1.0, but nixpkgs doesn't have that
@@ -47,6 +50,8 @@ in
4750
ghc865 = "Cabal_2_4_1_0"; # TODO this is technically incorrect for ghc 8.6.5, should be 2.4.0.1, but nixpkgs doesn't have that
4851
ghc881 = "Cabal_3_0_0_0";
4952
ghc8104 = "Cabal_3_2_1_0";
53+
ghc8105 = "Cabal_3_2_1_0";
54+
ghc901 = "Cabal_3_4_0_0";
5055
}."${compiler}"),
5156

5257
# Use `integer-simple` instead of `integer-gmp` to avoid linking in

0 commit comments

Comments
 (0)