* 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.
|
# When doing coverage analysis, we don't care about the result.
|
||||||
dontInstall = doCoverageAnalysis;
|
dontInstall = doCoverageAnalysis;
|
||||||
|
useTempPrefix = doCoverageAnalysis;
|
||||||
|
|
||||||
showBuildStats = true;
|
showBuildStats = true;
|
||||||
|
|
||||||
@ -77,7 +78,7 @@ stdenv.mkDerivation (
|
|||||||
mkdir -p $out/nix-support
|
mkdir -p $out/nix-support
|
||||||
echo "$system" > $out/nix-support/system
|
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
|
echo "nix-build none $out" >> $out/nix-support/hydra-build-products
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user