about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2018-03-22T23·17-0400
committerGitHub <noreply@github.com>2018-03-22T23·17-0400
commite2f56c1333d542b8022205215b637a30e71314c7 (patch)
treef850c126127f760641d92c43dd7e75d2ecd6a065 /doc
parent2bc6cfe1adc89673626a173ee38ef300588be3d1 (diff)
doc: don't mention obsolete ssh-substituter-hosts
#1840
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/packages/ssh-substituter.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/packages/ssh-substituter.xml b/doc/manual/packages/ssh-substituter.xml
index f24f354c4c39..8db3f96625d3 100644
--- a/doc/manual/packages/ssh-substituter.xml
+++ b/doc/manual/packages/ssh-substituter.xml
@@ -12,7 +12,7 @@ automatically fetching any store paths in Firefox’s closure if they
 are available on the server <literal>avalon</literal>:
 
 <screen>
-$ nix-env -i firefox --option ssh-substituter-hosts alice@avalon
+$ nix-env -i firefox --substituters ssh://alice@avalon
 </screen>
 
 This works similar to the binary cache substituter that Nix usually
@@ -31,7 +31,7 @@ an SSH passphrase interactively. Therefore, you should use
 installing it into your profile, e.g.
 
 <screen>
-$ nix-store -r /nix/store/m85bxg…-firefox-34.0.5 --option ssh-substituter-hosts alice@avalon
+$ nix-store -r /nix/store/m85bxg…-firefox-34.0.5 --substituters ssh://alice@avalon
 </screen>
 
 This is essentially equivalent to doing