mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
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:
|
define it yourself:
|
||||||
|
|
||||||
<programlisting>
|
<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>
|
</para></listitem>
|
||||||
|
|
||||||
|
@ -908,7 +908,7 @@ stdenv.mkDerivation (rec {
|
||||||
<replaceable>e</replaceable>, namely <literal>"int"</literal>,
|
<replaceable>e</replaceable>, namely <literal>"int"</literal>,
|
||||||
<literal>"bool"</literal>, <literal>"string"</literal>,
|
<literal>"bool"</literal>, <literal>"string"</literal>,
|
||||||
<literal>"path"</literal>, <literal>"null"</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>
|
<literal>"lambda"</literal>.</para></listitem>
|
||||||
|
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
Loading…
Reference in a new issue