From 9ba91047d1612e90f839aa5f4450fdf3f3d987ae Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 5 Jan 2025 16:31:05 +0100 Subject: [PATCH] haskell.packages.ghc9121.jailbreak-cabal: 1.4 -> 1.4.1 This allows us to build packages that set `jailbreak = true` with GHC 9.12. For other versions, this update doesn't change anything, so we can avoid the rebuild (making this change potentially cherry-pickable onto e.g. master or staging-next). The update will otherwise happen with a normal bump of the hackage tarball, rendering this override obsolete. --- .../haskell-modules/configuration-ghc-9.12.x.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix index 8fea913cb2c9..582f46aa2425 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix @@ -58,6 +58,15 @@ self: super: { xhtml = null; # Version upgrades + jailbreak-cabal = overrideCabal { + # Manually update jailbreak-cabal to 1.4.1 (which supports Cabal >= 3.14) + # since Hackage bump containing it is tied up in the update to Stackage LTS 23. + version = "1.4.1"; + sha256 = "0q6l608m965s6932xabm7v2kav5cxrihb5qcbrwz0c4xiwrz4l5x"; + + revision = null; + editedCabalFile = null; + } super.jailbreak-cabal; htree = doDistribute self.htree_0_2_0_0; primitive = doDistribute self.primitive_0_9_0_0; splitmix = doDistribute self.splitmix_0_1_1;