diff --git a/doc/manual/builtins.xml b/doc/manual/builtins.xml index 42fcd70eb..395829798 100644 --- a/doc/manual/builtins.xml +++ b/doc/manual/builtins.xml @@ -49,7 +49,7 @@ available as builtins.derivation. define it yourself: -attrValues = attrs: map (name: builtins.getAttr name attrs) (builtins.attrNames attrs); +attrValues = set: map (name: builtins.getAttr name set) (builtins.attrNames set); @@ -908,7 +908,7 @@ stdenv.mkDerivation (rec { e, namely "int", "bool", "string", "path", "null", - "attrs", "list" or + "set", "list" or "lambda".