stdenv/check-meta: inline verify call

This commit is contained in:
Eman Resu
2026-04-29 09:00:27 -04:00
parent 4084a18fb1
commit fe037eedc6
+1 -2
View File
@@ -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:${