Skip to content

Commit

Permalink
ci: Label 10.rebuild-*-stdenv (NixOS#369102)
Browse files Browse the repository at this point in the history
Currently ofborg does this, but there is actually no real reason this
shouldn't be done by CI

(cherry picked from commit 6d96c9a)
  • Loading branch information
dasJ authored and getchoo committed Jan 1, 2025
1 parent fddbd3e commit db5a0ad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ci/eval/compare/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@ let
rebuildsByKernel
rebuildCountByKernel
;
labels = getLabels rebuildCountByKernel;
labels =
(getLabels rebuildCountByKernel)
# Adds "10.rebuild-*-stdenv" label if the "stdenv" attribute was changed
++ lib.mapAttrsToList (kernel: _: "10.rebuild-${kernel}-stdenv") (
lib.filterAttrs (_: kernelRebuilds: kernelRebuilds ? "stdenv") rebuildsByKernel
);
}
);
in
Expand Down

0 comments on commit db5a0ad

Please sign in to comment.