From deab46fdba6525ec6a56943dfd2da6994e890ebe Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 9 Mar 2018 15:35:49 +0100 Subject: [PATCH] Cabal-2.2.0.0: fix build with GHC 8.2.2 --- pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix index 4538d8471c0..90b142a1f0e 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix @@ -86,4 +86,9 @@ self: super: { # https://github.com/purescript/purescript/issues/3189 purescript = doJailbreak (super.purescript); + # Needs text >=1.2.3.0 && <1.3, which is not the default yet. + Cabal_2_2_0_0 = super.Cabal_2_2_0_0.overrideScope (self: super: { + text = self.text_1_2_3_0; + }); + }