about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-04-27 19:44:38 +0200
committerPeter Simons <simons@cryp.to>2015-04-28 17:57:04 +0200
commita3beaca54f248471ba966dd50ac483712f890ddd (patch)
tree94adc3b53d160848ffc3c93380aa601a0a7c7908 /pkgs
parentf426922f4a7a32980a4dc9ab30189609bebaa55e (diff)
downloadnixlib-a3beaca54f248471ba966dd50ac483712f890ddd.tar
nixlib-a3beaca54f248471ba966dd50ac483712f890ddd.tar.gz
nixlib-a3beaca54f248471ba966dd50ac483712f890ddd.tar.bz2
nixlib-a3beaca54f248471ba966dd50ac483712f890ddd.tar.lz
nixlib-a3beaca54f248471ba966dd50ac483712f890ddd.tar.xz
nixlib-a3beaca54f248471ba966dd50ac483712f890ddd.tar.zst
nixlib-a3beaca54f248471ba966dd50ac483712f890ddd.zip
haskell-cabal-test-quickcheck: fix build by providing a recent-enough version of QuickCheck
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 173ca92dd3e6..fe74c9c5600e 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -155,9 +155,8 @@ self: super: {
     patchPhase = "sed -i -e 's|random.*==.*|random|' -e 's|text.*>=.*,|text,|' -e s'|terminfo == .*|terminfo|' darcs.cabal";
   });
 
-  # The test suite imposes too narrow restrictions on the version of
-  # Cabal that can be used to build this package.
-  cabal-test-quickcheck = dontCheck super.cabal-test-quickcheck;
+  # Needs the latest version of QuickCheck to compile.
+  cabal-test-quickcheck = super.cabal-test-quickcheck.override { QuickCheck = self.QuickCheck_2_8_1; };
 
   # https://github.com/techtangents/ablist/issues/1
   ABList = dontCheck super.ABList;