forked from lix-project/lix
Merge pull request #1725 from chris-martin/pr/concatStringsSep
Add builtins.concatStringSep to the manual
This commit is contained in:
commit
e3c19ff9bc
|
@ -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