docs(nix): remove premature forwarding rule

This commit is contained in:
2026-08-28 10:11:06 -04:00
parent 9f01253d92
commit 720ebdba63

View File

@@ -129,26 +129,6 @@ Use:
}:
```
### Use `@` for forwarding wrappers
Use `@` when a wrapper passes its complete argument set to another function.
Name each argument the wrapper uses before `...`.
Forward the bound argument set unchanged.
Avoid:
```nix
{ hostName, system ? "x86_64-linux", ... }:
mkHost { inherit hostName system; }
```
Use:
```nix
args@{ hostName, ... }:
mkHost args
```
## `let` Bindings
### Use `let` for named intermediate values