about summary refs log tree commit diff
path: root/pkgs/tools/graphics/diagrams-builder
diff options
context:
space:
mode:
authorpolykernel <81340136+polykernel@users.noreply.github.com>2021-08-28 11:18:03 -0400
committerpolykernel <81340136+polykernel@users.noreply.github.com>2021-08-28 11:57:59 -0400
commitca20a96b5ff3318eb136c93b44d4996e2a88fb61 (patch)
treef9d4fe44def820114ed7f3219fcbae2bfaf89965 /pkgs/tools/graphics/diagrams-builder
parenta75378d3962b898501296b81eede9e0644696599 (diff)
treewide: concatStrings (intersperse ...) -> concatStringsSep ...
Update all usage of lib.concatStrings (lib.intersperse ...) to
lib.concatStringsSep. This produces the same result as per https://github.com/NixOS/nixpkgs/pull/135843,
however it yields a performance benefit on Nix versions that
support the builtins.concatStringsSep primop.
Diffstat (limited to 'pkgs/tools/graphics/diagrams-builder')
-rw-r--r--pkgs/tools/graphics/diagrams-builder/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/diagrams-builder/default.nix b/pkgs/tools/graphics/diagrams-builder/default.nix
index 9337d5cca23bb..85f4fdc83efa7 100644
--- a/pkgs/tools/graphics/diagrams-builder/default.nix
+++ b/pkgs/tools/graphics/diagrams-builder/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation {
   nativeBuildInputs = [ makeWrapper ];
 
   buildCommand = with lib;
-    concatStrings (intersperse "\n" (map exeWrapper backends));
+    concatStringsSep "\n" (map exeWrapper backends);
 
   # Will be faster to build the wrapper locally then to fetch it from a binary cache.
   preferLocalBuild = true;