Propagate failure of aggregate members
This commit is contained in:
parent
23a53b8dfa
commit
d46858d5b8
|
@ -46,7 +46,15 @@ rec {
|
||||||
_hydraAggregate = true;
|
_hydraAggregate = true;
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
echo $members > $out
|
mkdir -p $out/nix-support
|
||||||
|
echo $members > $out/nix-support/hydra-aggregate-members
|
||||||
|
|
||||||
|
# Propagate build failures.
|
||||||
|
for i in $members; do
|
||||||
|
if [ -e $i/nix-support/failed ]; then
|
||||||
|
touch $out/nix-support/failed
|
||||||
|
fi
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue