* When doing coverage builds, set useTempPrefix (in case we're doing
an "installcheck"). svn path=/nixpkgs/trunk/; revision=33261
This commit is contained in:
parent
1e8dfa4e2c
commit
c3072a8df8
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user