mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 14:41:27 +00:00
releaseTools.aggregate: Rename ‘members’ to ‘constituents’
This commit is contained in:
parent
d46858d5b8
commit
68469ca342
@ -40,17 +40,17 @@ rec {
|
||||
} // args);
|
||||
|
||||
aggregate =
|
||||
{ name, members, meta ? { } }:
|
||||
{ name, constituents, meta ? { } }:
|
||||
pkgs.runCommand name
|
||||
{ inherit members meta;
|
||||
{ inherit constituents meta;
|
||||
_hydraAggregate = true;
|
||||
}
|
||||
''
|
||||
mkdir -p $out/nix-support
|
||||
echo $members > $out/nix-support/hydra-aggregate-members
|
||||
echo $constituents > $out/nix-support/hydra-aggregate-constituents
|
||||
|
||||
# Propagate build failures.
|
||||
for i in $members; do
|
||||
for i in $constituents; do
|
||||
if [ -e $i/nix-support/failed ]; then
|
||||
touch $out/nix-support/failed
|
||||
fi
|
||||
|
@ -25,7 +25,7 @@ let
|
||||
unstable = pkgs.releaseTools.aggregate
|
||||
{ name = "nixpkgs-${jobs.tarball.version}";
|
||||
meta.description = "Release-critical builds for the Nixpkgs unstable channel";
|
||||
members =
|
||||
constituents =
|
||||
[ jobs.tarball
|
||||
jobs.stdenv.x86_64-linux
|
||||
jobs.stdenv.i686-linux
|
||||
|
Loading…
Reference in New Issue
Block a user