From 2b944a013f878bd282ba1dfabf6e12b8a7708b01 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 30 May 2022 16:12:58 -0700 Subject: [PATCH] match -> builtins.match --- to-edn.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 " ";