forked from mirrors/nixpkgs
haskell-optparse-applicative: fix build with pre-8.0.x versions of GHC
This commit is contained in:
parent
8ddaef6ddf
commit
6b6cf6942c
|
@ -72,13 +72,10 @@ self: super: {
|
|||
# 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.
|
||||
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;
|
||||
optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;
|
||||
|
||||
}
|
||||
|
|
|
@ -97,8 +97,9 @@ self: super: {
|
|||
# Needs tagged on pre 7.6.x compilers.
|
||||
reflection = addBuildDepend super.reflection self.tagged;
|
||||
|
||||
# These builds Need additional dependencies on pre 7.6.x compilers.
|
||||
# These builds need additional dependencies on old compilers.
|
||||
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;
|
||||
|
||||
}
|
||||
|
|
|
@ -93,12 +93,13 @@ self: super: {
|
|||
# Needs void on pre 7.10.x compilers.
|
||||
conduit = addBuildDepend super.conduit self.void;
|
||||
|
||||
# Needs additional inputs on pre 7.10.x compilers.
|
||||
# Needs additional inputs on old compilers.
|
||||
semigroups = addBuildDepends super.semigroups (with self; [bytestring-builder nats tagged unordered-containers transformers]);
|
||||
lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]);
|
||||
distributive = addBuildDepend super.distributive self.semigroups;
|
||||
QuickCheck = addBuildDepend super.QuickCheck self.semigroups;
|
||||
void = addBuildDepends super.void (with self; [hashable semigroups]);
|
||||
optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;
|
||||
|
||||
# Need a newer version of Cabal to interpret their build instructions.
|
||||
cmdargs = addSetupDepend super.cmdargs self.Cabal_1_24_2_0;
|
||||
|
|
|
@ -143,12 +143,13 @@ self: super: {
|
|||
hashable = dontCheck super.hashable;
|
||||
unordered-containers = dontCheck super.unordered-containers;
|
||||
|
||||
# Needs additional inputs on pre 7.10.x compilers.
|
||||
# Needs additional inputs on old compilers.
|
||||
semigroups = addBuildDepends super.semigroups (with self; [nats tagged unordered-containers]);
|
||||
lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]);
|
||||
distributive = addBuildDepend super.distributive self.semigroups;
|
||||
QuickCheck = addBuildDepends super.QuickCheck (with self; [nats semigroups]);
|
||||
void = addBuildDepends super.void (with self; [hashable semigroups]);
|
||||
optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;
|
||||
|
||||
# Haddock doesn't cope with the new markup.
|
||||
bifunctors = dontHaddock super.bifunctors;
|
||||
|
|
Loading…
Reference in a new issue