From 5f47b751b3b8baa2aadd1dd54d855d1f79041451 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 31 Dec 2015 12:27:26 +0100 Subject: [PATCH] haskell-semigroups: fix build with GHC 7.8.x and 7.6.x --- pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix | 3 +++ pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix | 3 +++ 2 files changed, 6 insertions(+) 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 4716766226a9..f89ffc4c7c12 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix @@ -95,4 +95,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; + } 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 99bac5ae5a0c..a17e85d2343c 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix @@ -137,4 +137,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; + }