git.iko.soy/typeable/nixpkgs
on master help sign in
Fix cabal-install builds with ghc 7.0.x and 7.2.x.
commite36427857d3e9a70c241a8c1ffd3949dce913b7f authorPeter Simons <simons@cryp.to> dateTue 5 May 2015, 20:35 (12 years ago) parent01ba9d0
2 files changed+12−2
pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix+6−1 pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix+6−1
pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix+6−1
@@ -46,8 +46,13 @@ self: super: {
4646 # https://github.com/tibbe/hashable/issues/85
4747 hashable = dontCheck super.hashable;
4848
49+ # Newer versions don't compile.
50+ Cabal_1_18_1_6 = dontJailbreak super.Cabal_1_18_1_6;
51+ cabal-install_1_18_0_8 = super.cabal-install_1_18_0_8.override { Cabal = self.Cabal_1_18_1_6; };
52+ cabal-install = self.cabal-install_1_18_0_8;
53+
4954 # Needs Cabal >= 1.18.x.
50− jailbreak-cabal = super.jailbreak-cabal.override { Cabal = dontJailbreak self.Cabal_1_18_1_6; };
55+ jailbreak-cabal = super.jailbreak-cabal.override { Cabal = self.Cabal_1_18_1_6; };
5156
5257 # Haddock chokes on the prologue from the cabal file.
5358 ChasingBottoms = dontHaddock super.ChasingBottoms;
pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix+6−1
@@ -43,11 +43,16 @@ self: super: {
4343 # https://github.com/haskell/cabal/issues/2322
4444 Cabal_1_22_3_0 = super.Cabal_1_22_3_0.override { binary = self.binary_0_7_4_0; process = self.process_1_2_3_0; };
4545
46+ # Newer versions don't compile.
47+ Cabal_1_18_1_6 = dontJailbreak super.Cabal_1_18_1_6;
48+ cabal-install_1_18_0_8 = super.cabal-install_1_18_0_8.override { Cabal = self.Cabal_1_18_1_6; };
49+ cabal-install = self.cabal-install_1_18_0_8;
50+
4651 # https://github.com/tibbe/hashable/issues/85
4752 hashable = dontCheck super.hashable;
4853
4954 # Needs Cabal >= 1.18.x.
50− jailbreak-cabal = super.jailbreak-cabal.override { Cabal = dontJailbreak self.Cabal_1_18_1_6; };
55+ jailbreak-cabal = super.jailbreak-cabal.override { Cabal = self.Cabal_1_18_1_6; };
5156
5257 # Haddock chokes on the prologue from the cabal file.
5358 ChasingBottoms = dontHaddock super.ChasingBottoms;