From bdb2e7e3335d4843b8fee9031d88a0d7e001fdf1 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 13 Feb 2023 23:48:34 +0100 Subject: [PATCH] haskell.packages.ghc926.protolude: allow bytestring-0.11.4 GHC 9.2.6 ships a new patch release of bytestring which protolude has an (apparently unnecessary) upper bound on. --- pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix index 8e3f63ec83d6..c9b864800d04 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -96,6 +96,10 @@ self: super: { # 2022-08-01: Tests are broken on ghc 9.2.4: https://github.com/wz1000/HieDb/issues/46 hiedb = dontCheck super.hiedb; + # Too strict upper bound on bytestring, relevant for GHC 9.2.6 specifically + # https://github.com/protolude/protolude/issues/127#issuecomment-1428807874 + protolude = doJailbreak super.protolude; + # https://github.com/fpco/inline-c/pull/131 inline-c-cpp = (if isDarwin then appendConfigureFlags ["--ghc-option=-fcompact-unwind"] else x: x)