aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/builtins.xml
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-24 22:05:58 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-24 22:05:58 +0200
commitfba17a9043527aad89dbf53d3458ca14a86a421c (patch)
tree159d68586da88c2b4235d64b5e6bf5cb115cceaf /doc/manual/builtins.xml
parent2d9bb56e554b17488c0f8984f34c026a66cdce67 (diff)
Doc fix
Diffstat (limited to 'doc/manual/builtins.xml')
-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 42fcd70eb..395829798 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>