From 720ebdba6340542694ce2197ec8cbefd363dafdc Mon Sep 17 00:00:00 2001 From: alexion Date: Fri, 28 Aug 2026 10:11:06 -0400 Subject: [PATCH] docs(nix): remove premature forwarding rule --- docs/nix.md | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/docs/nix.md b/docs/nix.md index 942abc0..cc7ccee 100644 --- a/docs/nix.md +++ b/docs/nix.md @@ -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