diff options
author | Peter Simons <simons@cryp.to> | 2016-01-31 22:28:05 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2016-02-03 18:51:53 +0100 |
commit | 9e06f6880c5446bc9de4c40db830d63cc43eb295 (patch) | |
tree | ad5c1c685e396dba23734030a27f95642fc0d062 /pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix | |
parent | bb94b09f667ccf0cee0a4c2b0d7f6b8135bfc88e (diff) | |
download | nixpkgs-9e06f6880c5446bc9de4c40db830d63cc43eb295.tar nixpkgs-9e06f6880c5446bc9de4c40db830d63cc43eb295.tar.gz nixpkgs-9e06f6880c5446bc9de4c40db830d63cc43eb295.tar.bz2 nixpkgs-9e06f6880c5446bc9de4c40db830d63cc43eb295.tar.lz nixpkgs-9e06f6880c5446bc9de4c40db830d63cc43eb295.tar.xz nixpkgs-9e06f6880c5446bc9de4c40db830d63cc43eb295.tar.zst nixpkgs-9e06f6880c5446bc9de4c40db830d63cc43eb295.zip |
cabal-install: build with native Cabal library when compiling with GHC 8.0.x
Fixes https://github.com/NixOS/nixpkgs/issues/12726.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix index 118d9966b68..d9a5702a094 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix @@ -34,6 +34,9 @@ self: super: { unix = null; xhtml = null; + # cabal-install can use the native Cabal library. + cabal-install = super.cabal-install.override { Cabal = null; }; + # jailbreak-cabal can use the native Cabal library. jailbreak-cabal = super.jailbreak-cabal.override { Cabal = null; }; |