From 0cc1b3744e439c6809832e8489793204ef6c9393 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 5 Jun 2016 17:57:23 +0200 Subject: [PATCH] haskell-semigroups: fix build with older compilers --- pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix | 4 ++-- pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix index 1eebbf2ced9..b48f9cfd33c 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix @@ -96,7 +96,7 @@ self: super: { # Needs void on pre 7.10.x compilers. conduit = addBuildDepend super.conduit self.void; - # Needs nats on pre 7.10.x compilers. - semigroups = addBuildDepend super.semigroups self.nats; + # Needs additional inputs on pre 7.10.x compilers. + semigroups = addBuildDepends super.semigroups (with self; [nats tagged unordered-containers transformers]); } diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix index 675a9619d31..b405baa37a1 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix @@ -139,7 +139,7 @@ self: super: { conduit = addBuildDepend super.conduit self.void; conduit_1_2_5 = addBuildDepend super.conduit_1_2_5 self.void; - # Needs nats on pre 7.10.x compilers. - semigroups = addBuildDepend super.semigroups self.nats; + # Needs additional inputs on pre 7.10.x compilers. + semigroups = addBuildDepends super.semigroups (with self; [nats tagged unordered-containers]); }