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";