haskell.packages.{ghc96,ghc98}.ghc-lib: fix build

Should use the same version as ghc-lib-parser.
This commit is contained in:
Wolfgang Walther
2025-12-11 10:21:35 +01:00
parent 6ba385238d
commit 6e98006396
4 changed files with 68 additions and 0 deletions
@@ -201,6 +201,7 @@ in
# A given major version of ghc-exactprint only supports one version of GHC.
ghc-exactprint = addBuildDepend self.extra super.ghc-exactprint_1_7_1_0;
ghc-lib = doDistribute self.ghc-lib_9_8_5_20250214;
ghc-lib-parser = doDistribute self.ghc-lib-parser_9_8_5_20250214;
ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_8_0_2;
haddock-library = doJailbreak super.haddock-library;
@@ -106,6 +106,7 @@ in
ghc-exactprint = doDistribute super.ghc-exactprint_1_8_0_0;
haddock-library = doJailbreak super.haddock-library;
ghc-lib = doDistribute self.ghc-lib_9_8_5_20250214;
ghc-lib-parser = doDistribute self.ghc-lib-parser_9_8_5_20250214;
ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_8_0_2;
inherit
@@ -69,6 +69,7 @@ extra-packages:
- ghc-exactprint == 1.9.* # 2024-08-27: needed for GHC == 9.10
- ghc-exactprint == 1.12.* # 2025-10-15: needed for GHC == 9.12
- ghc-lib == 9.6.* # 2022-02-17: preserve for GHC 9.4
- ghc-lib == 9.8.* # 2025-12-11: preserve for GHC 9.6, 9.8
- ghc-lib == 9.10.* # 2024-12-30: preserve for GHC 9.10/ghc-tags 1.9
- ghc-lib-parser == 9.6.* # 2024-05-19: preserve for GHC 9.4
- ghc-lib-parser == 9.8.* # 2024-12-26: preserve for GHC 9.6, 9.8
+65
View File
@@ -261125,6 +261125,71 @@ self: {
}
) { };
ghc-lib_9_8_5_20250214 = callPackage (
{
mkDerivation,
alex,
array,
base,
binary,
bytestring,
containers,
deepseq,
directory,
exceptions,
filepath,
ghc-lib-parser,
ghc-prim,
happy,
hpc,
parsec,
pretty,
process,
rts,
semaphore-compat,
stm,
time,
transformers,
unix,
}:
mkDerivation {
pname = "ghc-lib";
version = "9.8.5.20250214";
sha256 = "1f0q8y22k8qwqjax4bvn1cbg2whxmcnfydp6izw54rk4yqyx5b0c";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
array
base
binary
bytestring
containers
deepseq
directory
exceptions
filepath
ghc-lib-parser
ghc-prim
hpc
parsec
pretty
process
rts
semaphore-compat
stm
time
transformers
unix
];
libraryToolDepends = [
alex
happy
];
description = "The GHC API, decoupled from GHC versions";
license = lib.licensesSpdx."BSD-3-Clause";
hydraPlatforms = lib.platforms.none;
}
) { };
ghc-lib_9_10_3_20250912 = callPackage (
{
mkDerivation,