lix/tests/lang/eval-okay-mapattrs.nix

3 lines
102 B
Nix

with import ./lib.nix;
builtins.mapAttrs (name: value: name + "-" + value) { x = "foo"; y = "bar"; }