git.iko.soy/typeable/nixpkgs
on master help sign in
haskell-cabal-test-quickcheck: fix build by providing a recent-enough version of QuickCheck
a3beacaPeter Simons
pkgs/development/haskell-modules/configuration-common.nix+2−3
@@ -155,9 +155,8 @@ self: super: {
155 patchPhase = "sed -i -e 's|random.*==.*|random|' -e 's|text.*>=.*,|text,|' -e s'|terminfo == .*|terminfo|' darcs.cabal";
155 patchPhase = "sed -i -e 's|random.*==.*|random|' -e 's|text.*>=.*,|text,|' -e s'|terminfo == .*|terminfo|' darcs.cabal";
156 });
156 });
157
157
158− # The test suite imposes too narrow restrictions on the version of
158+ # Needs the latest version of QuickCheck to compile.
159− # Cabal that can be used to build this package.
160− cabal-test-quickcheck = dontCheck super.cabal-test-quickcheck;
159+ cabal-test-quickcheck = super.cabal-test-quickcheck.override { QuickCheck = self.QuickCheck_2_8_1; };
161
160
162 # https://github.com/techtangents/ablist/issues/1
161 # https://github.com/techtangents/ablist/issues/1
163 ABList = dontCheck super.ABList;
162 ABList = dontCheck super.ABList;