stdenv/meta: Propagate nonTeamMaintainers if possible
This fixes the problem where if `meta` for package A is inherited from package B, both team and non-team maintainers would end up in nonTeamMaintainers, because by default it would take the value from meta.maintainers, which when accessed also contains team maintainers for backwards compatibility reasons.
This commit is contained in:
@@ -571,8 +571,9 @@ let
|
||||
);
|
||||
|
||||
# Needed for CI to be able to avoid requesting reviews from individual
|
||||
# team members
|
||||
nonTeamMaintainers = attrs.meta.maintainers or [ ];
|
||||
# team members.
|
||||
# Prefer nonTeamMaintainers in case meta is copied from another package
|
||||
nonTeamMaintainers = attrs.meta.nonTeamMaintainers or attrs.meta.maintainers or [ ];
|
||||
|
||||
identifiers =
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user