haskell-configuration-common: use overrideScope on cabal-install instead of override

This patch works around https://github.com/NixOS/nixpkgs/issues/7953 so
that we can use overrideScope on this attribute in the GHC 7.6.x package
set (see next commit).
This commit is contained in:
Peter Simons 2015-05-23 12:49:42 +02:00
parent 18a6e7171e
commit 70a7f7c14d

View File

@ -8,8 +8,8 @@ self: super: {
Cabal_1_18_1_6 = dontCheck super.Cabal_1_18_1_6;
Cabal_1_20_0_3 = dontCheck super.Cabal_1_20_0_3;
Cabal_1_22_3_0 = dontCheck super.Cabal_1_22_3_0;
cabal-install = dontCheck (super.cabal-install.override { Cabal = self.Cabal_1_22_3_0; zlib = self.zlib_0_5_4_2; });
cabal-install_1_18_1_0 = dontCheck (super.cabal-install_1_18_1_0.override { Cabal = self.Cabal_1_18_1_6; zlib = self.zlib_0_5_4_2; });
cabal-install = (dontCheck super.cabal-install).overrideScope (self: super: { Cabal = self.Cabal_1_22_3_0; zlib = self.zlib_0_5_4_2; });
cabal-install_1_18_1_0 = (dontCheck super.cabal-install_1_18_1_0).overrideScope (self: super: { Cabal = self.Cabal_1_18_1_6; zlib = self.zlib_0_5_4_2; });
# Break infinite recursions.
Dust-crypto = dontCheck super.Dust-crypto;