From 2a8f09a8c12246d52a3a0443b4bc9d87a632e98e Mon Sep 17 00:00:00 2001 From: Chris Martin Date: Mon, 11 Dec 2017 01:20:17 -0500 Subject: Add builtins.concatStringSep to the manual --- doc/manual/expressions/builtins.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/manual') diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml index 5e88b8856..5a3a8645c 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 "" + builtins.concatStringsSep + separator list + + Concatenate a list of strings with a separator + between each element, e.g. concatStringsSep "/" + ["usr" "local" "bin"] == "usr/local/bin" + + builtins.currentSystem -- cgit v1.2.3