mirror of
https://github.com/NixOS/nix
synced 2025-07-08 06:53:54 +02:00
lib.concatMap and lib.mapAttrs to be builtins
This commit is contained in:
parent
3defdccf4b
commit
403a76a18f
5 changed files with 52 additions and 0 deletions
3
tests/lang/eval-okay-mapattrs.nix
Normal file
3
tests/lang/eval-okay-mapattrs.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
with import ./lib.nix;
|
||||
|
||||
builtins.mapAttrs (name: value: name + "-" + value) { x = "foo"; y = "bar"; }
|
Loading…
Add table
Add a link
Reference in a new issue