stdenv: Remove extra merge operator in meta
This operator merges two attrsets without any conditions, and leads to more operations and allocations.
This commit is contained in:
@@ -622,8 +622,7 @@ let
|
||||
# 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 [ ];
|
||||
}
|
||||
// {
|
||||
|
||||
# Expose the result of the checks for everyone to see.
|
||||
unfree = hasUnfreeLicense attrs;
|
||||
broken = isMarkedBroken attrs;
|
||||
|
||||
Reference in New Issue
Block a user