diff options
author | polykernel <81340136+polykernel@users.noreply.github.com> | 2021-08-28 11:18:03 -0400 |
---|---|---|
committer | polykernel <81340136+polykernel@users.noreply.github.com> | 2021-08-28 11:57:59 -0400 |
commit | ca20a96b5ff3318eb136c93b44d4996e2a88fb61 (patch) | |
tree | f9d4fe44def820114ed7f3219fcbae2bfaf89965 /pkgs/misc/emulators | |
parent | a75378d3962b898501296b81eede9e0644696599 (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/misc/emulators')
-rw-r--r-- | pkgs/misc/emulators/retroarch/wrapper.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/misc/emulators/retroarch/wrapper.nix b/pkgs/misc/emulators/retroarch/wrapper.nix index 40d9f07846b71..4cc7ad404be05 100644 --- a/pkgs/misc/emulators/retroarch/wrapper.nix +++ b/pkgs/misc/emulators/retroarch/wrapper.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation { inherit license homepage platforms maintainers; description = description + " (with cores: " - + lib.concatStrings (lib.intersperse ", " (map (x: ""+x.name) cores)) + + lib.concatStringsSep ", " (map (x: ""+x.name) cores) + ")"; }; } |