Try specifying newlines in brackets

This commit is contained in:
niten 2023-10-07 10:18:24 -07:00
parent 473cc54008
commit bf4a77fcd8
1 changed files with 2 additions and 4 deletions

View File

@ -5,10 +5,8 @@
with lib;
let
removeBlankLines = str:
concatStringsSep "\n\n" (filter isString (builtins.split ''
+'' str));
concatStringsSep "\n\n"
(filter isString (builtins.split "[\\n][\\n]+" str));
joinLines = concatStringsSep "\n";