haskell.packages.ghc{94,96,98}.ghc-lib-parser: fix eval

The ghc-lib-parser expression is now created by running cabal2nix via
GHC 9.10. This means that the conditional dependency ghc-internal is now
added, but this is only available from GHC 9.10 onwards. Since this is
not required when building with older compilers, we just set it to null.
This commit is contained in:
Wolfgang Walther
2025-08-05 12:36:59 +02:00
committed by sternenseemann
parent 07c6a900a9
commit 1b5377100b
3 changed files with 9 additions and 0 deletions
@@ -59,6 +59,9 @@ self: super: {
# Becomes a core package in GHC >= 9.10
os-string = doDistribute self.os-string_2_0_7;
# Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available
ghc-internal = null;
# only broken for >= 9.6
calligraphy = doDistribute (unmarkBroken super.calligraphy);
@@ -67,6 +67,9 @@ in
# Becomes a core package in GHC >= 9.10
os-string = doDistribute self.os-string_2_0_7;
# Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available
ghc-internal = null;
# Needs base-orphans for GHC < 9.8 / base < 4.19
some = addBuildDepend self.base-orphans super.some;
@@ -67,6 +67,9 @@ in
# Becomes a core package in GHC >= 9.10
os-string = doDistribute self.os-string_2_0_7;
# Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available
ghc-internal = null;
#
# Version upgrades
#