pkgsStatic.haskellPackages.ghc: 9.4 -> 9.12

We recently merged changes to build TemplateHaskell with iserv-proxy,
which allows us to bump pkgsStatic from GHC 9.4 to GHC 9.8+. Currently,
GHC 9.10 is the default, but it fails some builds with TH (for example
`pkgsStatic.haskell.packages.native-bignum.ghc910.jose`), which succeed
with GHC 9.12.

Resolves #275304
This commit is contained in:
Wolfgang Walther
2025-12-14 13:52:04 +01:00
parent 523f44c1ea
commit ba03cc7657
2 changed files with 2 additions and 12 deletions
+2 -3
View File
@@ -4778,10 +4778,9 @@ with pkgs;
haskellPackages = recurseIntoAttrs (
# Prefer native-bignum to avoid linking issues with gmp;
# TemplateHaskell doesn't work with hadrian built GHCs yet
# https://github.com/NixOS/nixpkgs/issues/275304
# GHC 9.10 doesn't work too well with iserv-proxy.
if stdenv.hostPlatform.isStatic then
haskell.packages.native-bignum.ghc94
haskell.packages.native-bignum.ghc912
# JS backend can't use gmp
else if stdenv.hostPlatform.isGhcjs then
haskell.packages.native-bignum.ghc910
-9
View File
@@ -428,15 +428,6 @@ let
postgrest
;
};
haskell.packages.native-bignum.ghc9103 = {
inherit (packagePlatforms pkgs.pkgsStatic.haskell.packages.native-bignum.ghc9103)
hello
random
QuickCheck
terminfo # isn't bundled for cross
;
};
};
pkgsCross = {