diff --git a/zone-to-zonefile.nix b/zone-to-zonefile.nix index eca637c..d1afbe0 100644 --- a/zone-to-zonefile.nix +++ b/zone-to-zonefile.nix @@ -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";