summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2017-03-29 16:03:27 +0200
committerPeter Simons <simons@cryp.to>2017-03-29 20:30:28 +0200
commita77e74d4091e077fadf89a1493405ea7c5474c64 (patch)
treebd1d41b6f0e436a83365219ff25f108fcd014996 /pkgs/development
parent2553ceb9820761e3c22c50db74513d5a0e1ba6d1 (diff)
downloadnixpkgs-a77e74d4091e077fadf89a1493405ea7c5474c64.tar
nixpkgs-a77e74d4091e077fadf89a1493405ea7c5474c64.tar.gz
nixpkgs-a77e74d4091e077fadf89a1493405ea7c5474c64.tar.bz2
nixpkgs-a77e74d4091e077fadf89a1493405ea7c5474c64.tar.lz
nixpkgs-a77e74d4091e077fadf89a1493405ea7c5474c64.tar.xz
nixpkgs-a77e74d4091e077fadf89a1493405ea7c5474c64.tar.zst
nixpkgs-a77e74d4091e077fadf89a1493405ea7c5474c64.zip
haskell-QuickCheck: fix build with GHC 7.8.x
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix5
1 files changed, 5 insertions, 0 deletions
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 1be8f16a7d5..13ce111c8f8 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix
@@ -139,10 +139,15 @@ self: super: {
   conduit = addBuildDepend super.conduit self.void;
   conduit_1_2_5 = addBuildDepend super.conduit_1_2_5 self.void;
 
+  # Breaks a dependency cycle between QuickCheck and semigroups
+  hashable = dontCheck super.hashable;
+  unordered-containers = dontCheck super.unordered-containers;
+
   # Needs additional inputs on pre 7.10.x compilers.
   semigroups = addBuildDepends super.semigroups (with self; [nats tagged unordered-containers]);
   lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]);
   distributive = addBuildDepend super.distributive self.semigroups;
+  QuickCheck = addBuildDepends super.QuickCheck (with self; [nats semigroups]);
 
   # Haddock doesn't cope with the new markup.
   bifunctors = dontHaddock super.bifunctors;