From 9e06f6880c5446bc9de4c40db830d63cc43eb295 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 31 Jan 2016 22:28:05 +0100 Subject: [PATCH] cabal-install: build with native Cabal library when compiling with GHC 8.0.x Fixes https://github.com/NixOS/nixpkgs/issues/12726. --- pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix | 3 +++ 1 file changed, 3 insertions(+) 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; };