aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/package-management/ssh-substituter.md
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2021-11-17 16:30:39 +0100
committerJan Tojnar <jtojnar@gmail.com>2021-11-17 17:04:25 +0100
commitca4d8ce9e22ef04687b1516c9472a5d3f82e056b (patch)
treee7560aabd3d472391776070745e8a9dcb37ac0aa /doc/manual/src/package-management/ssh-substituter.md
parent480c883f363912df611c545b05ae0f6f1b9a6c61 (diff)
doc: De-emphasize nix-env without -A
The manual uses `nix-env -i` without `-A` prominently, teaching a bad practice to newcomers.
Diffstat (limited to 'doc/manual/src/package-management/ssh-substituter.md')
-rw-r--r--doc/manual/src/package-management/ssh-substituter.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/src/package-management/ssh-substituter.md b/doc/manual/src/package-management/ssh-substituter.md
index 6e5e258bc..c59933f61 100644
--- a/doc/manual/src/package-management/ssh-substituter.md
+++ b/doc/manual/src/package-management/ssh-substituter.md
@@ -6,7 +6,7 @@ automatically fetching any store paths in Firefox’s closure if they are
available on the server `avalon`:
```console
-$ nix-env -i firefox --substituters ssh://alice@avalon
+$ nix-env -iA nixpkgs.firefox --substituters ssh://alice@avalon
```
This works similar to the binary cache substituter that Nix usually