releaseTools.nixBuild: Put hydra-build-products in each output
Putting a single hydra-build-products in $out can cause $out to have unnecessary dependencies on other outputs.
This commit is contained in:
parent
b076ab94d6
commit
19ab71ff7a
@ -77,7 +77,8 @@ stdenv.mkDerivation (
|
|||||||
if [ -z "${toString doCoverageAnalysis}" ]; then
|
if [ -z "${toString doCoverageAnalysis}" ]; then
|
||||||
for i in $outputs; do
|
for i in $outputs; do
|
||||||
if [ "$i" = out ]; then j=none; else j="$i"; fi
|
if [ "$i" = out ]; then j=none; else j="$i"; fi
|
||||||
echo "nix-build $j ''${!i}" >> $out/nix-support/hydra-build-products
|
mkdir -p ''${!i}/nix-support
|
||||||
|
echo "nix-build $j ''${!i}" >> ''${!i}/nix-support/hydra-build-products
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user