From 3810d43bbbfeb26dfed3c2654c90c49e386021ac Mon Sep 17 00:00:00 2001 From: niten <niten@fudo.org> Date: Mon, 30 May 2022 16:11:48 -0700 Subject: [PATCH] mapAttrs -> mapAttrsToList --- to-edn.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/to-edn.nix b/to-edn.nix index d13e430..0fa5fcb 100644 --- a/to-edn.nix +++ b/to-edn.nix @@ -18,7 +18,7 @@ let "[ ${join-str (map toEDN ds)} ]" else (if isAttrs ds then - "{ ${join-str (mapAttrs (k: v: ":${k} ${toEDN v}") ds)} }" + "{ ${join-str (mapAttrsToList (k: v: ":${k} ${toEDN v}") ds)} }" else throw "unsupported type: ${builtins.typeOf ds}: ${ds}")));