mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
7 lines
144 B
Nix
7 lines
144 B
Nix
|
{ file }:
|
||
|
|
||
|
builtins.attrValues
|
||
|
(builtins.mapAttrs
|
||
|
(name: def: def // { inherit name; })
|
||
|
(builtins.fromJSON (builtins.readFile file)))
|