Add builtins.concatStringSep to the manual
This commit is contained in:
parent
0b59882fe3
commit
2a8f09a8c1
1 changed files with 8 additions and 0 deletions
|
@ -134,6 +134,14 @@ if builtins ? getEnv then builtins.getEnv "PATH" else ""</programlisting>
|
||||||
|
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry><term><function>builtins.concatStringsSep</function>
|
||||||
|
<replaceable>separator</replaceable> <replaceable>list</replaceable></term>
|
||||||
|
|
||||||
|
<listitem><para>Concatenate a list of strings with a separator
|
||||||
|
between each element, e.g. <literal>concatStringsSep "/"
|
||||||
|
["usr" "local" "bin"] == "usr/local/bin"</literal></para></listitem>
|
||||||
|
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry
|
<varlistentry
|
||||||
xml:id='builtin-currentSystem'><term><varname>builtins.currentSystem</varname></term>
|
xml:id='builtin-currentSystem'><term><varname>builtins.currentSystem</varname></term>
|
||||||
|
|
Loading…
Reference in a new issue