summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix
diff options
context:
space:
mode:
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;