diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-24T20·05+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-24T20·05+0200 |
commit | fba17a9043527aad89dbf53d3458ca14a86a421c (patch) | |
tree | 159d68586da88c2b4235d64b5e6bf5cb115cceaf | |
parent | 2d9bb56e554b17488c0f8984f34c026a66cdce67 (diff) |
Doc fix
-rw-r--r-- | doc/manual/builtins.xml | 4 |
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> |