From cb611dbc192f891c233421b1b57a6a892ca0118b Mon Sep 17 00:00:00 2001 From: Vaibhav Sagar Date: Thu, 21 Oct 2021 07:59:07 +1100 Subject: [PATCH] configuration-ghc-9.2.x.nix: jailbreak `constraints` to fix build --- pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ece3daf3b371..29c0716b093b 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -86,7 +86,7 @@ self: super: { # Tests fail because of typechecking changes conduit = dontCheck super.conduit; - constraints = appendPatch super.constraints (pkgs.fetchpatch { + constraints = appendPatch (doJailbreak super.constraints) (pkgs.fetchpatch { url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/constraints-0.13.patch"; sha256 = "0cr4qzw0fbwy97f3wx0v3mv8yc642ahpfa80kaqrq191232fzzf3"; });