about summary refs log tree commit diff
path: root/doc/manual
diff options
context:
space:
mode:
authorChris Martin <ch.martin@gmail.com>2017-12-11T06·20-0500
committerChris Martin <ch.martin@gmail.com>2017-12-11T19·28-0500
commit2a8f09a8c12246d52a3a0443b4bc9d87a632e98e (patch)
treeadc02ab17573c810af66681b60182fa27efb7e6d /doc/manual
parent0b59882fe33d375019f9f6f760144151c2a5aa4b (diff)
Add builtins.concatStringSep to the manual
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/expressions/builtins.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml
index 5e88b88561fc..5a3a8645c1d9 100644
--- a/doc/manual/expressions/builtins.xml
+++ b/doc/manual/expressions/builtins.xml
@@ -134,6 +134,14 @@ if builtins ? getEnv then builtins.getEnv "PATH" else ""</programlisting>
 
   </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
   xml:id='builtin-currentSystem'><term><varname>builtins.currentSystem</varname></term>