mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
* Check for duplicate attribute names / function arguments. `make
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.)
This commit is contained in:
parent
2d7636529f
commit
ebade9ff8b
5 changed files with 58 additions and 45 deletions
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
services.ssh = { enable = true; };
|
||||
services.ssh.port = 23;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue