CASCADE/functions/mkAttrItemsFunction.nix
2022-09-23 22:24:58 -05:00

4 lines
105 B
Nix

with builtins;
kname: vname: aset: attrValues (mapAttrs (k: v: {"${kname}" = k; "${vname}" = v;}) aset)