mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
ebade9ff8b
check' now succeeds :-) * An attribute set such as `{ foo = { enable = true; }; foo.port = 23; }' now parses. It was previously rejected, but I'm too lazy to implement the check. (The only reason to reject it is that the reverse, `{ foo.port = 23; foo = { enable = true; }; }', is rejected, which is kind of ugly.)
9 lines
62 B
Nix
9 lines
62 B
Nix
rec {
|
|
|
|
x = 1;
|
|
|
|
as = {
|
|
inherit x;
|
|
inherit x;
|
|
};
|
|
} |