linux: Use concatStringsSep

This commit is contained in:
Tuomas Tynkkynen 2018-02-10 23:37:52 +02:00
parent 968b866dcc
commit 6d8c1fe01c

View File

@ -236,7 +236,7 @@ let
"The Linux kernel" + "The Linux kernel" +
(if kernelPatches == [] then "" else (if kernelPatches == [] then "" else
" (with patches: " " (with patches: "
+ stdenv.lib.concatStrings (stdenv.lib.intersperse ", " (map (x: x.name) kernelPatches)) + stdenv.lib.concatStringsSep ", " (map (x: x.name) kernelPatches)
+ ")"); + ")");
license = stdenv.lib.licenses.gpl2; license = stdenv.lib.licenses.gpl2;
homepage = https://www.kernel.org/; homepage = https://www.kernel.org/;