From 12cf9bfeeec79f6635cf16da2aa2a57bd3743f89 Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 7 Oct 2023 13:29:06 -0700 Subject: [PATCH] Sigh...does this work or not? --- zone-to-zonefile.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zone-to-zonefile.nix b/zone-to-zonefile.nix index d1afbe0..eca637c 100644 --- a/zone-to-zonefile.nix +++ b/zone-to-zonefile.nix @@ -5,8 +5,10 @@ with lib; let removeBlankLines = str: - concatStringsSep "\n\n" - (filter isString (builtins.split "[\\n][\\n]+" str)); + concatStringsSep "\n\n" (filter isString (builtins.split '' + + + +'' str)); joinLines = concatStringsSep "\n";