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

4 lines
102 B
Nix

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