aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/installation/env-variables.xml
diff options
context:
space:
mode:
authorSamir Talwar <samir@noodlesandwich.com>2020-06-18 10:29:24 +0200
committerSamir Talwar <samir@noodlesandwich.com>2020-06-18 10:29:24 +0200
commit9069759767cf1821578be8006cda52ee53ecd427 (patch)
tree7f0687761dd2a89c87ad1632fd3ea275d37d8c7f /doc/manual/installation/env-variables.xml
parentd1e0627cea92a530eb4a7fa6de13b211830eafe4 (diff)
Instruct the user to follow redirects when installing Nix.
Nix installation now requires following redirects using `curl -L`. This is currently represented on the [Nix download page][] but not in the manual. This change updates the manual to reflect this. Using `curl` without the `-L` flag results in an empty body, making installation a no-op. [Nix download page]: https://nixos.org/download.html
Diffstat (limited to 'doc/manual/installation/env-variables.xml')
-rw-r--r--doc/manual/installation/env-variables.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/installation/env-variables.xml b/doc/manual/installation/env-variables.xml
index e2b8fc867..cc52f5b4a 100644
--- a/doc/manual/installation/env-variables.xml
+++ b/doc/manual/installation/env-variables.xml
@@ -39,7 +39,7 @@ bundle.</para>
<step><para>Set the environment variable and install Nix</para>
<screen>
$ export NIX_SSL_CERT_FILE=/etc/ssl/my-certificate-bundle.crt
-$ sh &lt;(curl https://nixos.org/nix/install)
+$ sh &lt;(curl -L https://nixos.org/nix/install)
</screen></step>
<step><para>In the shell profile and rc files (for example,