about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/builtins.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/builtins.xml b/doc/manual/builtins.xml
index 42fcd70eb1af..3958297989a1 100644
--- a/doc/manual/builtins.xml
+++ b/doc/manual/builtins.xml
@@ -49,7 +49,7 @@ available as <function>builtins.derivation</function>.</para>
     define it yourself:
 
 <programlisting>
-attrValues = attrs: map (name: builtins.getAttr name attrs) (builtins.attrNames attrs);</programlisting>
+attrValues = set: map (name: builtins.getAttr name set) (builtins.attrNames set);</programlisting>
 
     </para></listitem>
 
@@ -908,7 +908,7 @@ stdenv.mkDerivation (rec {
     <replaceable>e</replaceable>, namely <literal>"int"</literal>,
     <literal>"bool"</literal>, <literal>"string"</literal>,
     <literal>"path"</literal>, <literal>"null"</literal>,
-    <literal>"attrs"</literal>, <literal>"list"</literal> or
+    <literal>"set"</literal>, <literal>"list"</literal> or
     <literal>"lambda"</literal>.</para></listitem>
 
   </varlistentry>