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

4 lines
102 B
Nix
Raw Normal View History

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