From 2e08ac73ca0098bf6dead801631c909d3a6b8e85 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 28 Aug 2019 15:45:06 +0000 Subject: cabal-install: override native Cabal version on older compilers --- pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix') diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix index 4e70648b71a0..4addc834040a 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix @@ -41,6 +41,9 @@ self: super: { unix = null; xhtml = null; + # Needs Cabal 3.0.x. + cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_3_0_0_0; }); + # https://github.com/tibbe/unordered-containers/issues/214 unordered-containers = dontCheck super.unordered-containers; -- cgit 1.4.1