From a732b1413faf62d3137f10807d670a2c3becb771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 18 Aug 2015 10:35:38 +0200 Subject: [PATCH] ghostcript: work around a parallel check problem http://hydra.nixos.org/build/24811657 Hopefully OK now - I couldn't reproduce it with 4 cores and HT. --- pkgs/misc/ghostscript/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/misc/ghostscript/default.nix b/pkgs/misc/ghostscript/default.nix index c5fb141b7e8..4d9d9cedde5 100644 --- a/pkgs/misc/ghostscript/default.nix +++ b/pkgs/misc/ghostscript/default.nix @@ -77,6 +77,8 @@ stdenv.mkDerivation rec { ]; doCheck = true; + preCheck = "mkdir ./obj"; + # parallel check sometimes gave: Fatal error: can't create ./obj/whitelst.o # don't build/install statically linked bin/gs buildFlags = "so";