From 5d8e8e574c8d7468880e0dbefa4cee1c830adf80 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 30 May 2022 16:14:18 -0700 Subject: [PATCH] Explicit str param. --- to-edn.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " ";