1
0
Fork 0
forked from lix-project/lix
lix/tests/lang/parse-okay-dup-attrs-5.nix
Eelco Dolstra ebade9ff8b * 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.)
2010-04-22 11:02:24 +00:00

4 lines
67 B
Nix

{
services.ssh = { enable = true; };
services.ssh.port = 23;
}