From 96ae5d58bfa3bb64449bef3703238a1cdc76eff0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 9 Jan 2015 19:17:59 +0100 Subject: [PATCH] haskell-configuration-ghc-7.9.x: steal a working jailbreak-cabal binary from the 7.8.4 package set to alleviate the effects of https://github.com/peti/jailbreak-cabal/issues/3 --- pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix index 65da7abf05ec..c4e6fb7b1765 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix @@ -30,6 +30,10 @@ self: super: { unix = null; xhtml = null; + # We cannot build jailbreak without Cabal 1.20.x, and we cannot build + # Cabal 1.20.x without jailbreak. Go figure. Let's use a sledgehammer. + jailbreak-cabal = pkgs.haskellngPackages.jailbreak-cabal; + # haddock: internal error: expectJust getPackageDetails mkDerivation = drv: super.mkDerivation (drv // { noHaddock = true; });