1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

pkgs/build-support/cabal: disable doCheck by default on GHC 7.0.x platforms

Trying to run the unit tests with GHC 7.0.4 causes so many builds to
fail that it's probably not worth-while.
This commit is contained in:
Peter Simons 2013-03-23 17:00:11 +01:00
parent 6617f5ca9e
commit 32fb6ed5e3

View file

@ -92,7 +92,7 @@
# pass the '--enable-tests' flag to cabal in the configure stage
# and run any regression test suites the package might have
doCheck = stdenv.lib.versionOlder "7" ghc.ghcVersion;
doCheck = stdenv.lib.versionOlder "7.4" ghc.ghcVersion;
extraConfigureFlags = [
(stdenv.lib.enableFeature enableLibraryProfiling "library-profiling")