ci/eval: use correct maintainer and team positions

We need to pass through the maintainers and teams positions from the
original meta so pings work correctly, since check-meta clobbers the
original attribute positions in them.

Tested with `maintainers/scripts/get-maintainer-pings-between.sh` on a
handful of major packages maintained by both individuals and teams.

(cherry picked from commit 92bd743239)
This commit is contained in:
Morgan Jones
2025-05-05 23:32:00 -07:00
committed by Wolfgang Walther
parent 18832d7f4a
commit fe49b3cf3b

View File

@@ -53,9 +53,7 @@ let
// {
# TODO: Refactor this so we can ping entire teams instead of the individual members.
# Note that this will require keeping track of GH team IDs in "maintainers/teams.nix".
maintainers =
meta.maintainers or [ ]
++ lib.flatten (map (team: team.members or [ ]) (meta.teams or [ ]));
maintainers = meta.maintainers or [ ];
}
) attrsWithPackages;