mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 14:56:15 +02:00
13 lines
237 B
Nix
13 lines
237 B
Nix
|
let
|
||
|
d = 0;
|
||
|
x = 1;
|
||
|
y = { inherit d x; };
|
||
|
z = { inherit (y) d x; };
|
||
|
in
|
||
|
[
|
||
|
(builtins.unsafeGetAttrPos "d" y)
|
||
|
(builtins.unsafeGetAttrPos "x" y)
|
||
|
(builtins.unsafeGetAttrPos "d" z)
|
||
|
(builtins.unsafeGetAttrPos "x" z)
|
||
|
]
|