Commit fe037eed authored by Eman Resu's avatar Eman Resu
Browse files

stdenv/check-meta: inline verify call

parent 4084a18f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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:${