mapAttrs -> mapAttrsToList
This commit is contained in:
parent
c040b2f401
commit
3810d43bbb
@ -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}")));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user