From 4cf188b376827fe0b752e0a6e64d63b5141d1327 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 5 May 2015 21:13:42 +0200 Subject: [PATCH] We can't build cabal-install with ghc-6.12.x. --- .../haskell-modules/configuration-ghc-6.12.x.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 9329a2c2318..40661c69cbd 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;