git.iko.soy/typeable/nixpkgs
on master help sign in
haskell-optparse-applicative: fix build with pre-8.0.x versions of GHC
commit6b6cf6942c7917854fb81a6368df8e28fed1d1a3 authorPeter Simons <simons@cryp.to> dateThu 22 Jun 2017, 20:42 (9 years ago) parent8ddaef6
4 files changed+8−8
pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix+2−5 pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix+2−1 pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix+2−1 pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix+2−1
pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix+2−5
@@ -72,13 +72,10 @@ self: super: {
7272 # Newer versions require bytestring >=0.10.
7373 tar = super.tar_0_4_1_0;
7474
75− # Needs void on pre 7.10.x compilers.
75+ # These builds need additional dependencies on old compilers.
7676 conduit = addBuildDepend super.conduit self.void;
77−
78− # Needs tagged on pre 7.6.x compilers.
7977 reflection = addBuildDepend super.reflection self.tagged;
80−
81− # Needs nats on pre 7.6.x compilers.
8278 semigroups = addBuildDepend super.semigroups self.nats;
79+ optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;
8380
8481}
pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix+2−1
@@ -97,8 +97,9 @@ self: super: {
9797 # Needs tagged on pre 7.6.x compilers.
9898 reflection = addBuildDepend super.reflection self.tagged;
9999
100− # These builds Need additional dependencies on pre 7.6.x compilers.
100+ # These builds need additional dependencies on old compilers.
101101 semigroups = addBuildDepends super.semigroups (with self; [nats bytestring-builder tagged unordered-containers transformers]);
102102 QuickCheck = addBuildDepends super.QuickCheck (with self; [nats semigroups]);
103+ optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;
103104
104105}
pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix+2−1
@@ -93,12 +93,13 @@ self: super: {
9393 # Needs void on pre 7.10.x compilers.
9494 conduit = addBuildDepend super.conduit self.void;
9595
96− # Needs additional inputs on pre 7.10.x compilers.
96+ # Needs additional inputs on old compilers.
9797 semigroups = addBuildDepends super.semigroups (with self; [bytestring-builder nats tagged unordered-containers transformers]);
9898 lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]);
9999 distributive = addBuildDepend super.distributive self.semigroups;
100100 QuickCheck = addBuildDepend super.QuickCheck self.semigroups;
101101 void = addBuildDepends super.void (with self; [hashable semigroups]);
102+ optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;
102103
103104 # Need a newer version of Cabal to interpret their build instructions.
104105 cmdargs = addSetupDepend super.cmdargs self.Cabal_1_24_2_0;
pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix+2−1
@@ -143,12 +143,13 @@ self: super: {
143143 hashable = dontCheck super.hashable;
144144 unordered-containers = dontCheck super.unordered-containers;
145145
146− # Needs additional inputs on pre 7.10.x compilers.
146+ # Needs additional inputs on old compilers.
147147 semigroups = addBuildDepends super.semigroups (with self; [nats tagged unordered-containers]);
148148 lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]);
149149 distributive = addBuildDepend super.distributive self.semigroups;
150150 QuickCheck = addBuildDepends super.QuickCheck (with self; [nats semigroups]);
151151 void = addBuildDepends super.void (with self; [hashable semigroups]);
152+ optparse-applicative = addBuildDepend super.optparse-applicative self.semigroups;
152153
153154 # Haddock doesn't cope with the new markup.
154155 bifunctors = dontHaddock super.bifunctors;