mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
haskell-text: fix build with GHC 7.6.x and earlier
This commit is contained in:
parent
5f9645ef2e
commit
b5d4861356
@ -64,21 +64,16 @@ self: super: {
|
||||
doctest = dontHaddock super.doctest;
|
||||
hsdns = dontHaddock super.hsdns;
|
||||
|
||||
# Needs hashable on pre 7.10.x compilers.
|
||||
nats_1 = addBuildDepend super.nats_1 self.hashable;
|
||||
nats = addBuildDepend super.nats self.hashable;
|
||||
|
||||
# Newer versions require bytestring >=0.10.
|
||||
tar = super.tar_0_4_1_0;
|
||||
|
||||
# Needs void on pre 7.10.x compilers.
|
||||
# These builds need additional dependencies on old compilers.
|
||||
nats_1 = addBuildDepend super.nats_1 self.hashable;
|
||||
nats = addBuildDepend super.nats self.hashable;
|
||||
conduit = addBuildDepend super.conduit self.void;
|
||||
|
||||
# Needs tagged on pre 7.6.x compilers.
|
||||
reflection = addBuildDepend super.reflection self.tagged;
|
||||
|
||||
# Needs nats on pre 7.6.x compilers.
|
||||
semigroups = addBuildDepend super.semigroups self.nats;
|
||||
text = addBuildDepend super.text self.bytestring-builder;
|
||||
|
||||
# Newer versions don't compile any longer.
|
||||
network_2_6_3_1 = dontCheck super.network_2_6_3_1;
|
||||
|
@ -77,6 +77,7 @@ self: super: {
|
||||
reflection = addBuildDepend super.reflection self.tagged;
|
||||
semigroups = addBuildDepend super.semigroups self.nats;
|
||||
optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;
|
||||
text = addBuildDepend super.text self.bytestring-builder;
|
||||
|
||||
# Newer versions don't compile any longer.
|
||||
network_2_6_3_1 = dontCheck super.network_2_6_3_1;
|
||||
|
@ -101,6 +101,7 @@ self: super: {
|
||||
semigroups = addBuildDepends super.semigroups (with self; [nats bytestring-builder tagged unordered-containers transformers]);
|
||||
QuickCheck = addBuildDepends super.QuickCheck (with self; [nats semigroups]);
|
||||
optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;
|
||||
text = addBuildDepend super.text self.bytestring-builder;
|
||||
|
||||
# Newer versions don't compile any longer.
|
||||
network_2_6_3_1 = dontCheck super.network_2_6_3_1;
|
||||
|
@ -82,8 +82,9 @@ self: super: {
|
||||
postPatch = "sed -i -e 's|base ==4.8.*,|base,|' sandi.cabal";
|
||||
});
|
||||
|
||||
# blaze-builder requires an additional build input on older compilers.
|
||||
# These packages require additional build inputs on older compilers.
|
||||
blaze-builder = addBuildDepend super.blaze-builder super.bytestring-builder;
|
||||
text = addBuildDepend super.text self.bytestring-builder;
|
||||
|
||||
# available convertible package won't build with the available
|
||||
# bytestring and ghc-mod won't build without convertible
|
||||
|
Loading…
Reference in New Issue
Block a user