mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
cabal2nix: fix build with old versions of GHC
This commit is contained in:
parent
a01a64e5a4
commit
2da7e03ed7
@ -14,7 +14,7 @@ cabal.mkDerivation (self: {
|
|||||||
Cabal filepath hackageDb mtl regexPosix transformers
|
Cabal filepath hackageDb mtl regexPosix transformers
|
||||||
];
|
];
|
||||||
testDepends = [ doctest ];
|
testDepends = [ doctest ];
|
||||||
doCheck = self.stdenv.lib.versionOlder "7.6" self.ghc.version;
|
doCheck = self.stdenv.lib.versionOlder "7.8" self.ghc.version;
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://github.com/NixOS/cabal2nix";
|
homepage = "http://github.com/NixOS/cabal2nix";
|
||||||
description = "Convert Cabal files into Nix build instructions";
|
description = "Convert Cabal files into Nix build instructions";
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
attoparsec = self.attoparsec_0_11_3_1;
|
attoparsec = self.attoparsec_0_11_3_1;
|
||||||
binaryConduit = super.binaryConduit.override { binary = self.binary_0_7_2_1; };
|
binaryConduit = super.binaryConduit.override { binary = self.binary_0_7_2_1; };
|
||||||
bson = super.bson.override { dataBinaryIeee754 = self.dataBinaryIeee754.override { binary = self.binary_0_7_2_1; }; };
|
bson = super.bson.override { dataBinaryIeee754 = self.dataBinaryIeee754.override { binary = self.binary_0_7_2_1; }; };
|
||||||
|
cabal2nix = super.cabal2nix.override { hackageDb = super.hackageDb.override { Cabal = self.Cabal_1_18_1_3; }; };
|
||||||
criterion = super.criterion.override {
|
criterion = super.criterion.override {
|
||||||
statistics = self.statistics.override {
|
statistics = self.statistics.override {
|
||||||
vectorBinaryInstances = self.vectorBinaryInstances.override { binary = self.binary_0_7_2_1; };
|
vectorBinaryInstances = self.vectorBinaryInstances.override { binary = self.binary_0_7_2_1; };
|
||||||
|
Loading…
Reference in New Issue
Block a user