diff --git a/lib/attrsets.nix b/lib/attrsets.nix index b8a98de69971..b05f8a2f867e 100644 --- a/lib/attrsets.nix +++ b/lib/attrsets.nix @@ -127,7 +127,7 @@ rec { : A list of strings representing the attribute path to check from `set` - `e` + `set` : The nested attribute set to check @@ -563,7 +563,7 @@ rec { : A list of attribute names to get out of `set` - `attrs` + `set` : The set to get the named attributes from diff --git a/lib/generators.nix b/lib/generators.nix index 613a83e25e5e..2634115daa1b 100644 --- a/lib/generators.nix +++ b/lib/generators.nix @@ -131,7 +131,7 @@ rec { /** Generate a line of key `k` and value `v`, separated by character `sep`. If `sep` appears in `k`, it is escaped. - Helper for synaxes with different separators. + Helper for syntaxes with different separators. `mkValueString` specifies how values should be formatted. diff --git a/lib/trivial.nix b/lib/trivial.nix index 64e23a2645dc..317b993f12d2 100644 --- a/lib/trivial.nix +++ b/lib/trivial.nix @@ -1139,7 +1139,7 @@ in # Type ``` - fromHexString :: String -> [ String ] + fromHexString :: String -> Int ``` # Examples