summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-05-31 20:22:42 +0200
committerPeter Simons <simons@cryp.to>2015-06-02 10:32:31 +0200
commit873fa649e8e851ea255fe87c6a8f79097aee6d23 (patch)
tree5ccb85b8d6bd3011719aacae37e3572605909ee7 /pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
parent0d484e999bd99c440cd94106cc8c4fb06828ce72 (diff)
downloadnixpkgs-873fa649e8e851ea255fe87c6a8f79097aee6d23.tar
nixpkgs-873fa649e8e851ea255fe87c6a8f79097aee6d23.tar.gz
nixpkgs-873fa649e8e851ea255fe87c6a8f79097aee6d23.tar.bz2
nixpkgs-873fa649e8e851ea255fe87c6a8f79097aee6d23.tar.lz
nixpkgs-873fa649e8e851ea255fe87c6a8f79097aee6d23.tar.xz
nixpkgs-873fa649e8e851ea255fe87c6a8f79097aee6d23.tar.zst
nixpkgs-873fa649e8e851ea255fe87c6a8f79097aee6d23.zip
cabal-install: break infinite recursion on ghc 7.6.x and 7.4.x.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
index b7129efb8a7..16257dcc17b 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
@@ -40,10 +40,10 @@ self: super: {
   xhtml = self.xhtml_3000_2_1;
 
   # https://github.com/haskell/cabal/issues/2322
-  Cabal_1_22_3_0 = super.Cabal_1_22_3_0.override { binary = self.binary_0_7_5_0; };
+  Cabal_1_22_3_0 = super.Cabal_1_22_3_0.override { binary = dontCheck self.binary_0_7_5_0; };
 
   # Avoid inconsistent 'binary' versions from 'text' and 'Cabal'.
-  cabal-install = super.cabal-install.overrideScope (self: super: { binary = self.binary_0_7_5_0; });
+  cabal-install = super.cabal-install.overrideScope (self: super: { binary = dontCheck self.binary_0_7_5_0; });
 
   # https://github.com/tibbe/hashable/issues/85
   hashable = dontCheck super.hashable;