From 1aa6d77af4a10cf9f66f2bef0b1ad81a2a9c18b6 Mon Sep 17 00:00:00 2001 From: Leon Isenberg Date: Mon, 27 Feb 2017 20:25:19 +0100 Subject: [PATCH] haskell: add semigroups dependency to Quickcheck for GHC < 8 --- pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix index 45199ab9420..c07ce1e6fe8 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix @@ -194,6 +194,7 @@ self: super: { hslogger = addBuildDepend super.hslogger self.HUnit; intervals = addBuildDepends super.intervals (with self; [doctest QuickCheck]); lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]); + QuickCheck = addBuildDepend super.QuickCheck self.semigroups; semigroups = addBuildDepends super.semigroups (with self; [hashable tagged text unordered-containers]); texmath = addBuildDepend super.texmath self.network-uri; yesod-auth-oauth2 = overrideCabal super.yesod-auth-oauth2 (drv: { testDepends = (drv.testDepends or []) ++ [ self.load-env self.yesod ]; });