From 36f7e3e5de193ae9660a9bedef318c8110d344eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 23 Aug 2026 07:27:24 +0200 Subject: [PATCH] releaseTools.aggregate: support glob constituents Lets jobsets reference whole job subtrees by fnmatch pattern instead of forcing their evaluation inside the aggregate. --- pkgs/build-support/release/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/build-support/release/default.nix b/pkgs/build-support/release/default.nix index 6ad860d4fac9..2ac928d77916 100644 --- a/pkgs/build-support/release/default.nix +++ b/pkgs/build-support/release/default.nix @@ -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