cabal-install: avoid inconsistent 'binary' versions on ghc-7.4.x and ghc-7.6.x
commite25b42d852f950b5c54e9b0e6de91c23f3263fa7
authorPeter Simons <simons@cryp.to>
dateSat 23 May 2015, 13:05 (12 years ago)
parent70a7f7c
pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix+3
@@ -40,6 +40,9 @@ self: super: {
4040 # https://github.com/haskell/cabal/issues/2322
4141 Cabal_1_22_3_0 = super.Cabal_1_22_3_0.override { binary = self.binary_0_7_4_0; };
4242
43+ # Avoid inconsistent 'binary' versions from 'text' and 'Cabal'.
44+ cabal-install = super.cabal-install.overrideScope (self: super: { binary = self.binary_0_7_4_0; });
45+
4346 # https://github.com/tibbe/hashable/issues/85
4447 hashable = dontCheck super.hashable;
4548
pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix+3
@@ -42,6 +42,9 @@ self: super: {
4242 # https://github.com/haskell/cabal/issues/2322
4343 Cabal_1_22_3_0 = super.Cabal_1_22_3_0.override { binary = self.binary_0_7_4_0; };
4444
45+ # Avoid inconsistent 'binary' versions from 'text' and 'Cabal'.
46+ cabal-install = super.cabal-install.overrideScope (self: super: { binary = self.binary_0_7_4_0; });
47+
4548 # https://github.com/tibbe/hashable/issues/85
4649 hashable = dontCheck super.hashable;
4750