From d9ce06790d3d58ee8139017658774e98f359e8c3 Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Fri, 1 Aug 2025 15:49:53 +0200 Subject: [PATCH] stdenv: Remove extra merge operator in meta This operator merges two attrsets without any conditions, and leads to more operations and allocations. --- pkgs/stdenv/generic/check-meta.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix index b1433dac99b6..f5f229290dec 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -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;