Doc fix
This commit is contained in:
parent
2d9bb56e55
commit
fba17a9043
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue