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.
|
# Newer versions require bytestring >=0.10.
|
||||||
tar = super.tar_0_4_1_0;
|
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;
|
conduit = addBuildDepend super.conduit self.void;
|
||||||
|
|
||||||
# Needs tagged on pre 7.6.x compilers.
|
|
||||||
reflection = addBuildDepend super.reflection self.tagged;
|
reflection = addBuildDepend super.reflection self.tagged;
|
||||||
|
|
||||||
# Needs nats on pre 7.6.x compilers.
|
|
||||||
semigroups = addBuildDepend super.semigroups self.nats;
|
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.
|
# Needs tagged on pre 7.6.x compilers.
|
||||||
reflection = addBuildDepend super.reflection self.tagged;
|
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]);
|
semigroups = addBuildDepends super.semigroups (with self; [nats bytestring-builder tagged unordered-containers transformers]);
|
||||||
QuickCheck = addBuildDepends super.QuickCheck (with self; [nats semigroups]);
|
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.
|
# Needs void on pre 7.10.x compilers.
|
||||||
conduit = addBuildDepend super.conduit self.void;
|
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]);
|
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]);
|
lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]);
|
||||||
distributive = addBuildDepend super.distributive self.semigroups;
|
distributive = addBuildDepend super.distributive self.semigroups;
|
||||||
QuickCheck = addBuildDepend super.QuickCheck self.semigroups;
|
QuickCheck = addBuildDepend super.QuickCheck self.semigroups;
|
||||||
void = addBuildDepends super.void (with self; [hashable 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.
|
# Need a newer version of Cabal to interpret their build instructions.
|
||||||
cmdargs = addSetupDepend super.cmdargs self.Cabal_1_24_2_0;
|
cmdargs = addSetupDepend super.cmdargs self.Cabal_1_24_2_0;
|
||||||
|
@ -143,12 +143,13 @@ self: super: {
|
|||||||
hashable = dontCheck super.hashable;
|
hashable = dontCheck super.hashable;
|
||||||
unordered-containers = dontCheck super.unordered-containers;
|
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]);
|
semigroups = addBuildDepends super.semigroups (with self; [nats tagged unordered-containers]);
|
||||||
lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]);
|
lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]);
|
||||||
distributive = addBuildDepend super.distributive self.semigroups;
|
distributive = addBuildDepend super.distributive self.semigroups;
|
||||||
QuickCheck = addBuildDepends super.QuickCheck (with self; [nats semigroups]);
|
QuickCheck = addBuildDepends super.QuickCheck (with self; [nats semigroups]);
|
||||||
void = addBuildDepends super.void (with self; [hashable 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.
|
# Haddock doesn't cope with the new markup.
|
||||||
bifunctors = dontHaddock super.bifunctors;
|
bifunctors = dontHaddock super.bifunctors;
|
||||||
|
Loading…
Reference in New Issue
Block a user