Skip to content

Commit 9dd4c43

Browse files
committed
Remove old compilers:
Those no longer packaged by nixpkgs, and 8.8, so that we can assume >= 8.10.
1 parent 70aa4a1 commit 9dd4c43

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

survey/default.nix

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,11 @@ in
2727
# Tries to use `.a` files when evaluating TH, instead of `.so` files.
2828
useArchiveFilesForTemplateHaskell ? false,
2929

30-
# See:
31-
# * https://www.snoyman.com/base/
32-
# * https://www.haskell.org/cabal/download.html
33-
# section "Older Releases"
34-
# * https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/version-history
30+
# See https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/version-history
3531
defaultCabalPackageVersionComingWithGhc ?
3632
({
37-
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
38-
ghc844 = "Cabal_2_2_0_1";
39-
ghc863 = throw "static-haskell-nix: ghc863 is no longer supported, please upgrade";
40-
ghc864 = throw "static-haskell-nix: ghc864 is no longer supported, please upgrade";
41-
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
42-
ghc881 = "Cabal_3_0_0_0";
43-
ghc8104 = "Cabal_3_2_1_0";
44-
ghc8105 = "Cabal_3_2_1_0";
4533
ghc8107 = "Cabal_3_2_1_0";
46-
ghc901 = "Cabal_3_4_0_0";
34+
ghc902 = "Cabal_3_4_1_0";
4735
ghc927 = "Cabal_3_6_3_0";
4836
ghc962 = "Cabal_3_10_1_0";
4937
}."${compiler}"),

0 commit comments

Comments
 (0)