From 24c93619e96a24a26d6eefff5595e240a81cb2f1 Mon Sep 17 00:00:00 2001 From: Leon Isenberg Date: Mon, 27 Feb 2017 20:26:27 +0100 Subject: [PATCH] haskell: break dependency cycle between QuickCheck and semigroups for GHC < 8 The cycle: QuickCheck -> semigroups semigroups -> hashable semigroups -> unordered-containers unordered-containers -> hashable unordered-containers -> QuickCheck # test suite only hashable -> QuickCheck # test suite only --- pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix | 4 ++++ 1 file changed, 4 insertions(+) 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 c07ce1e6fe8..26b3daa25bf 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix @@ -182,6 +182,10 @@ self: super: { # https://github.com/well-typed/hackage-security/issues/158 hackage-security = dontHaddock (dontCheck super.hackage-security); + # Breaks a dependency cycle between QuickCheck and semigroups + hashable = dontCheck super.hashable; + unordered-containers = dontCheck super.unordered-containers; + # GHC versions prior to 8.x require additional build inputs. distributive = addBuildDepend super.distributive self.semigroups; mono-traversable = addBuildDepend super.mono-traversable self.semigroups;