summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-05-05 21:13:42 +0200
committerPeter Simons <simons@cryp.to>2015-05-05 21:44:48 +0200
commit4cf188b376827fe0b752e0a6e64d63b5141d1327 (patch)
treee37be30fd214cb23a9da75bf36e5ceb65dc6fdc7 /pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix
parentea9e11db9a51038630afc3d0954c9a88ab01b04c (diff)
downloadnixlib-4cf188b376827fe0b752e0a6e64d63b5141d1327.tar
nixlib-4cf188b376827fe0b752e0a6e64d63b5141d1327.tar.gz
nixlib-4cf188b376827fe0b752e0a6e64d63b5141d1327.tar.bz2
nixlib-4cf188b376827fe0b752e0a6e64d63b5141d1327.tar.lz
nixlib-4cf188b376827fe0b752e0a6e64d63b5141d1327.tar.xz
nixlib-4cf188b376827fe0b752e0a6e64d63b5141d1327.tar.zst
nixlib-4cf188b376827fe0b752e0a6e64d63b5141d1327.zip
We can't build cabal-install with ghc-6.12.x.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix b/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix
index 9329a2c2318f..40661c69cbd3 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix
@@ -50,11 +50,18 @@ self: super: {
   # transformers is not a core library for this compiler.
   transformers = self.transformers_0_4_3_0;
 
+  # Newer versions don't compile.
+  Cabal_1_18_1_6 = dontJailbreak super.Cabal_1_18_1_6;
+
+  # We have no working cabal-install at the moment.
+  cabal-install_1_18_0_8 = markBroken super.cabal-install_1_18_0_8;
+  cabal-install = self.cabal-install_1_18_0_8;
+
   # https://github.com/tibbe/hashable/issues/85
   hashable = dontCheck super.hashable;
 
   # Needs Cabal >= 1.18.x.
-  jailbreak-cabal = super.jailbreak-cabal.override { Cabal = dontJailbreak self.Cabal_1_18_1_6; };
+  jailbreak-cabal = super.jailbreak-cabal.override { Cabal = self.Cabal_1_18_1_6; };
 
   # Haddock chokes on the prologue from the cabal file.
   ChasingBottoms = dontHaddock super.ChasingBottoms;