From 356f870a83e59d17be28c0fdab0a60003ee17dbc Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 17 Jul 2022 12:20:30 +0200 Subject: [PATCH] haskellPackages.regex-compat-tdfa: ignore upper bound on base This bound was (rightfully) introduced via a hackage revision, but it doesn't apply to us because we patch around the incompatibility with GHC >= 9.0. --- pkgs/development/haskell-modules/configuration-common.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 7047c7d7204a..8762545aa48c 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2394,7 +2394,11 @@ self: super: { # https://hub.darcs.net/shelarcy/regex-compat-tdfa/issue/3 regex-compat-tdfa = appendPatches [ ./patches/regex-compat-tdfa-ghc-9.0.patch - ] super.regex-compat-tdfa; + ] (overrideCabal super.regex-compat-tdfa { + # Revision introduces bound base < 4.15 + revision = null; + editedCabalFile = null; + }; # https://github.com/kowainik/validation-selective/issues/64 validation-selective = doJailbreak super.validation-selective;