haskell-defaults.nix: fix build of cabal2nix on GHC versions older than 6.12.x

Cabal2nix needs version 1.10.x or later of the Cabal library.
This commit is contained in:
Peter Simons 2013-02-25 01:25:05 +01:00
parent e993649477
commit 7aad2ce101

View File

@ -85,6 +85,7 @@
deepseq = self.deepseq_1_1_0_2;
# deviating from Haskell platform here, to make some packages (notably statistics) compile
jailbreakCabal = self.jailbreakCabal.override { Cabal = self.Cabal_1_14_0; };
cabal2nix = self.cabal2nix.override { Cabal = self.Cabal_1_14_0; hackageDb = self.hackageDb.override { Cabal = self.Cabal_1_16_0_3; }; };
};
ghc6121Prefs =
@ -95,6 +96,7 @@
deepseq = self.deepseq_1_1_0_2;
monadPar = self.monadPar_0_1_0_3;
jailbreakCabal = self.jailbreakCabal.override { Cabal = self.Cabal_1_14_0; };
cabal2nix = self.cabal2nix.override { Cabal = self.Cabal_1_14_0; hackageDb = self.hackageDb.override { Cabal = self.Cabal_1_16_0_3; }; };
# deviating from Haskell platform here, to make some packages (notably statistics) compile
};
@ -108,6 +110,7 @@
deepseq = self.deepseq_1_1_0_2;
monadPar = self.monadPar_0_1_0_3;
jailbreakCabal = self.jailbreakCabal.override { Cabal = self.Cabal_1_14_0; };
cabal2nix = self.cabal2nix.override { Cabal = self.Cabal_1_14_0; hackageDb = self.hackageDb.override { Cabal = self.Cabal_1_16_0_3; }; };
# deviating from Haskell platform here, to make some packages (notably statistics) compile
};