about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2024-06-04 14:49:56 +0200
committersternenseemann <sternenseemann@systemli.org>2024-06-04 14:49:56 +0200
commit8ff463e9fcfd21dc98285aa5ed223d11e62163c6 (patch)
treeaf69e2d875d8d0655896a844355d68dd37cf8974 /pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
parent4def04988462e97521f714ffae15c87c1d239049 (diff)
haskell.packages.ghc90.ghc-lib*: use 9.2.* versions
This matches what we do for GHC 8.10.7 where we also can't build the 9.6
versions.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
index cdaa712ecd9aa..b0cc94c67428e 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
@@ -88,6 +88,11 @@ self: super: {
   # Needs to use ghc-lib due to incompatible GHC
   ghc-tags = doDistribute (addBuildDepend self.ghc-lib self.ghc-tags_1_6);
 
+  # ghc-lib >= 9.6 and friends no longer build with GHC 9.0
+  ghc-lib-parser = doDistribute self.ghc-lib-parser_9_2_8_20230729;
+  ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_2_1_1;
+  ghc-lib = doDistribute self.ghc-lib_9_2_8_20230729;
+
   # Test suite sometimes segfaults with GHC 9.0.1 and 9.0.2
   # https://github.com/ekmett/reflection/issues/51
   # https://gitlab.haskell.org/ghc/ghc/-/issues/21141