From 96f9999d0cd5676ceed527f12dc12caeffe59e0c Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 14 Feb 2023 15:03:09 +0100 Subject: [PATCH] haskellPackages.llvm-hs-pure: make bytestring-0.11 patch apply again --- pkgs/development/haskell-modules/configuration-common.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index b225fe346e73..3fba0b54094e 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1793,7 +1793,12 @@ self: super: { relative = "llvm-hs-pure"; excludes = [ "**/Triple.hs" ]; # doesn't exist in 9.0.0 }) - ] super.llvm-hs-pure; + ] (overrideCabal { + # Hackage Revision prevents patch from applying. Revision 1 does not allow + # bytestring-0.11.4 which is bundled with 9.2.6. + editedCabalFile = null; + revision = null; + } super.llvm-hs-pure); # * Fix build failure by picking patch from 8.5, we need # this version of sbv for petrinizer