From c3072a8df8844ba7240e9c26e83744b85df8942e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 19 Mar 2012 16:05:29 +0000 Subject: [PATCH] * When doing coverage builds, set useTempPrefix (in case we're doing an "installcheck"). svn path=/nixpkgs/trunk/; revision=33261 --- pkgs/build-support/release/nix-build.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/release/nix-build.nix b/pkgs/build-support/release/nix-build.nix index 92f0579e884..8abbca97875 100644 --- a/pkgs/build-support/release/nix-build.nix +++ b/pkgs/build-support/release/nix-build.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation ( # When doing coverage analysis, we don't care about the result. dontInstall = doCoverageAnalysis; + useTempPrefix = doCoverageAnalysis; showBuildStats = true; @@ -77,7 +78,7 @@ stdenv.mkDerivation ( mkdir -p $out/nix-support echo "$system" > $out/nix-support/system - if test -z "${toString doCoverageAnalysis}"; then + if [ -z "${toString doCoverageAnalysis}" ]; then echo "nix-build none $out" >> $out/nix-support/hydra-build-products fi '';