mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
releaseTools.aggregate: support glob constituents
Lets jobsets reference whole job subtrees by fnmatch pattern instead of forcing their evaluation inside the aggregate.
This commit is contained in:
@@ -124,12 +124,16 @@ rec {
|
||||
name,
|
||||
constituents,
|
||||
meta ? { },
|
||||
# Interpret string constituents as fnmatch patterns matched
|
||||
# against all job names of the jobset.
|
||||
globConstituents ? false,
|
||||
}:
|
||||
pkgs.runCommand name
|
||||
{
|
||||
inherit constituents meta;
|
||||
preferLocalBuild = true;
|
||||
_hydraAggregate = true;
|
||||
_hydraGlobConstituents = globConstituents;
|
||||
}
|
||||
''
|
||||
mkdir -p $out/nix-support
|
||||
|
||||
Reference in New Issue
Block a user