Commit c7bbefcc authored by Silvan Mosberger's avatar Silvan Mosberger
Browse files

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.
parent 99828ad2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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