cabal2nix: the test suite compiles only on GHC 7.6.x or later

See <https://github.com/sol/doctest-haskell/issues/69> for further details.
This commit is contained in:
Peter Simons 2013-12-29 12:06:35 +01:00
parent 7e51f66bea
commit a5d046d007

View File

@ -9,6 +9,7 @@ cabal.mkDerivation (self: {
isExecutable = true;
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];
testDepends = [ doctest ];
doCheck = self.stdenv.lib.versionOlder "7.6" self.ghc.version;
meta = {
homepage = "http://github.com/NixOS/cabal2nix";
description = "Convert Cabal files into Nix build instructions";