mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
Add primop ‘attrValues’
This commit is contained in:
parent
58d8a213b0
commit
d4fcbe1687
2 changed files with 24 additions and 2 deletions
|
@ -8,4 +8,4 @@ let
|
|||
|
||||
values = map (name: builtins.getAttr name attrs) names;
|
||||
|
||||
in concat values
|
||||
in assert values == builtins.attrValues attrs; concat values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue