From 4113779dd9e60d27cb5b5f2488124a886b6c8a0e Mon Sep 17 00:00:00 2001 From: a-kenji Date: Fri, 8 Aug 2025 11:07:11 +0200 Subject: [PATCH] check-meta: Fix typos in comment and error message --- pkgs/stdenv/generic/check-meta.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix index 0d6db8985019..ae445015f72f 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -119,7 +119,7 @@ let isMarkedInsecure = attrs: (attrs.meta.knownVulnerabilities or [ ]) != [ ]; - # Alow granular checks to allow only some unfree packages + # Allow granular checks to allow only some unfree packages # Example: # {pkgs, ...}: # { @@ -280,7 +280,7 @@ let however ${getNameWithVersion attrs} only has the outputs: ${builtins.concatStringsSep ", " actualOutputs} - and is missing the following ouputs: + and is missing the following outputs: ${concatStrings (builtins.map (output: " - ${output}\n") missingOutputs)} ''; @@ -629,7 +629,7 @@ let else if valid == "warn" then (handleEvalWarning { inherit meta attrs; } { inherit (validity) reason errormsg; }) else - throw "Unknown validitiy: '${valid}'" + throw "Unknown validity: '${valid}'" ); };