From f206eea2cf940eae20e1dbdb981d24cc3f56b684 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 31 Jan 2020 22:12:12 +0100 Subject: [PATCH] ghc-8.10.x: add a bunch of jailbreaks to fix builds --- .../configuration-ghc-8.10.x.nix | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index 5fc85101d4cd..96c50aa43d30 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -42,4 +42,29 @@ self: super: { unix = null; xhtml = null; + # Jailbreak to fix the build. + async = doJailbreak super.async; + hashable = doJailbreak super.hashable; + primitive_0_7_0_0 = doJailbreak (dontCheck super.primitive_0_7_0_0); # evaluating the test suite gives an infinite recursion + regex-base_0_94_0_0 = doJailbreak super.regex-base_0_94_0_0; + regex-compat_0_95_2_0 = doJailbreak super.regex-compat_0_95_2_0; + regex-posix_0_96_0_0 = doJailbreak super.regex-posix_0_96_0_0; + tar = doJailbreak super.tar; + tasty-expected-failure = doJailbreak super.tasty-expected-failure; + unliftio-core = doJailbreak super.unliftio-core; + vector = doJailbreak super.vector; + zlib = doJailbreak super.zlib; + parallel = doJailbreak super.parallel; + split = doJailbreak super.split; + + # Use the latest version to fix the build. + generic-deriving = self.generic-deriving_1_13_1; + optparse-applicative = self.optparse-applicative_0_15_1_0; + primitive = self.primitive_0_7_0_0; + regex-base = self.regex-base_0_94_0_0; + regex-compat = self.regex-compat_0_95_2_0; + regex-pcre-builtin = self.regex-pcre-builtin_0_95_1_1_8_43; + regex-posix = self.regex-posix_0_96_0_0; + regex-tdfa = self.regex-tdfa_1_3_1_0; + }