mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
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:
parent
e993649477
commit
7aad2ce101
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user