From a5d046d007aefc52f0317a778ea946648afeb90d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 29 Dec 2013 12:06:35 +0100 Subject: [PATCH] cabal2nix: the test suite compiles only on GHC 7.6.x or later See for further details. --- pkgs/development/tools/haskell/cabal2nix/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/tools/haskell/cabal2nix/default.nix b/pkgs/development/tools/haskell/cabal2nix/default.nix index fba8729ebbf1..d2f9124ef676 100644 --- a/pkgs/development/tools/haskell/cabal2nix/default.nix +++ b/pkgs/development/tools/haskell/cabal2nix/default.nix @@ -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";