diff options
author | Peter Simons <simons@cryp.to> | 2019-08-28 15:45:06 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2019-08-28 15:50:33 +0000 |
commit | 2e08ac73ca0098bf6dead801631c909d3a6b8e85 (patch) | |
tree | 0ac7fe429f759d38f718cc43942bf5da24570ae9 /pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix | |
parent | 374a39e598815c27d470f4ff57496eccb521f3de (diff) |
cabal-install: override native Cabal version on older compilers
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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 4e70648b71a0d..4addc834040aa 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; |