summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-09 19:17:59 +0100
committerPeter Simons <simons@cryp.to>2015-01-09 19:17:59 +0100
commit96ae5d58bfa3bb64449bef3703238a1cdc76eff0 (patch)
tree2c0bb8acc4c3d70365a280972b88b9caa3c80538 /pkgs
parent1e659694c58e5465bb09ce2834ceec566ffedb21 (diff)
downloadnixlib-96ae5d58bfa3bb64449bef3703238a1cdc76eff0.tar
nixlib-96ae5d58bfa3bb64449bef3703238a1cdc76eff0.tar.gz
nixlib-96ae5d58bfa3bb64449bef3703238a1cdc76eff0.tar.bz2
nixlib-96ae5d58bfa3bb64449bef3703238a1cdc76eff0.tar.lz
nixlib-96ae5d58bfa3bb64449bef3703238a1cdc76eff0.tar.xz
nixlib-96ae5d58bfa3bb64449bef3703238a1cdc76eff0.tar.zst
nixlib-96ae5d58bfa3bb64449bef3703238a1cdc76eff0.zip
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
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix4
1 files changed, 4 insertions, 0 deletions
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; });