From aaf4e4dc10f0e81ec8cdb9ef556c72eea0810f61 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Sat, 6 Jun 2026 19:33:10 +0100 Subject: [PATCH 1/2] haskell.packages.ghc912.extensions: jailbreak --- pkgs/development/haskell-modules/configuration-common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 4e5d1e289c89b..71d7c6250227f 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -168,6 +168,7 @@ with haskellLib; null; } ); + extensions_0_1_1_0 = doJailbreak super.extensions_0_1_1_0; # First to upgrade to lsp >= 2.8 while HLS hasn't yet had a compatible release futhark = super.futhark.override { @@ -203,7 +204,7 @@ with haskellLib; # Jailbreaking cabal-install-parsers to make it pick Cabal 3.14 instead of 3.12. cabal-install-parsers = doJailbreak lsuper.cabal-install-parsers; # Need a newer version of extensions to be compatible with the newer Cabal - extensions = doJailbreak lself.extensions_0_1_1_0; + extensions = lself.extensions_0_1_1_0; # For most ghc versions, we overrideScope Cabal in the configuration-ghc-???.nix, # because some packages, like ormolu, need a newer Cabal version. # ghc-paths is special because it depends on Cabal for building From bbb8aff2bbe0d237ab688f1b70bdbdcbeb3c7270 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Sat, 6 Jun 2026 19:33:51 +0100 Subject: [PATCH 2/2] haskellPackages.stan: patch bound --- pkgs/development/haskell-modules/configuration-common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 71d7c6250227f..70e60b817e3df 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -277,6 +277,11 @@ with haskellLib; # bound only required when running under WINE: https://github.com/haskell/network/issues/604 iserv-proxy = doJailbreak super.iserv-proxy; + stan = appendPatch (pkgs.fetchpatch { + url = "https://github.com/kowainik/stan/commit/32bceb9de10d166dd5c67ad1f4a7f1bb2afe3020.patch"; + sha256 = "sha256-BwyVSm0A4/xUGk0C+ZAdZwf6UwT4+aLFU6R1byVwt+g="; + }) super.stan; + # Test ldap server test/ldap.js is missing from sdist # https://github.com/supki/ldap-client/issues/18 ldap-client-og = dontCheck super.ldap-client-og;