From fe037eedc6eee0d521012f2460641ccd6cac45b4 Mon Sep 17 00:00:00 2001 From: Eman Resu <78693624+quatquatt@users.noreply.github.com> Date: Tue, 28 Apr 2026 11:39:21 -0400 Subject: [PATCH] stdenv/check-meta: inline verify call --- 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 e3990a8eb0ab..67144ac147e6 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -384,7 +384,6 @@ let }; checkMeta = config.checkMeta; - metaInvalid = meta: !metaType.verify meta; checkOutputsToInstall = attrs: @@ -408,7 +407,7 @@ let else # Check meta attribute types first, to make sure it is always called even when there are other issues # Note that this is not a full type check and functions below still need to by careful about their inputs! - if checkMeta && metaInvalid attrs.meta then + if checkMeta && !metaType.verify attrs.meta then { reason = "unknown-meta"; msg = "has an invalid meta attrset:${