mirror of
https://github.com/NixOS/nix.git
synced 2025-02-22 03:42:48 +00:00

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;
|
|
};
|
|
} |