diff --git a/to-edn.nix b/to-edn.nix index bab5085..7b37e0c 100644 --- a/to-edn.nix +++ b/to-edn.nix @@ -3,7 +3,7 @@ with lib; let isSymbol = str: isNull (builtins.match "^'.+" str); - stripQuote = head (builtins.match "^'(.+)"); + stripQuote = str: head (builtins.match "^'(.+)" str); parseStr = str: if (isSymbol str) then (stripQuote str) else ''"${str}"''; join-str = concatStringsSep " ";