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