* When doing coverage builds, set useTempPrefix (in case we're doing

an "installcheck").

svn path=/nixpkgs/trunk/; revision=33261
This commit is contained in:
Eelco Dolstra 2012-03-19 16:05:29 +00:00
parent 1e8dfa4e2c
commit c3072a8df8

View File

@ -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
'';