Unverified Commit 43972c5d authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

check-meta: de-dupe maintainers list (#456956)

parents 5343b996 791bdb74
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ let
    toList
    isList
    elem
    unique
    ;

  inherit (lib.meta)
@@ -667,8 +668,9 @@ let
      # Maintainers should be inclusive of teams.
      # Note that there may be external consumers of this API (repology, for instance) -
      # if you add a new maintainer or team attribute please ensure that this expectation is still met.
      maintainers =
        attrs.meta.maintainers or [ ] ++ concatMap (team: team.members or [ ]) attrs.meta.teams or [ ];
      maintainers = unique (
        attrs.meta.maintainers or [ ] ++ concatMap (team: team.members or [ ]) attrs.meta.teams or [ ]
      );

      identifiers =
        let