docs: add -L to remaining curl install commands
This commit is contained in:
parent
2e7fcfd5b2
commit
6ed65d9b5f
3 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ if ! builtins ? nixVersion || builtins.compareVersions requiredVersion builtins.
|
||||||
- If you installed Nix using the install script (https://nixos.org/nix/install),
|
- If you installed Nix using the install script (https://nixos.org/nix/install),
|
||||||
it is safe to upgrade by running it again:
|
it is safe to upgrade by running it again:
|
||||||
|
|
||||||
curl https://nixos.org/nix/install | sh
|
curl -L https://nixos.org/nix/install | sh
|
||||||
|
|
||||||
For more information, please see the NixOS release notes at
|
For more information, please see the NixOS release notes at
|
||||||
https://nixos.org/nixos/manual or locally at
|
https://nixos.org/nixos/manual or locally at
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
Short version:
|
Short version:
|
||||||
</para>
|
</para>
|
||||||
<screen>
|
<screen>
|
||||||
<prompt>$ </prompt>curl https://nixos.org/nix/install | sh
|
<prompt>$ </prompt>curl -L https://nixos.org/nix/install | sh
|
||||||
<prompt>$ </prompt>. $HOME/.nix-profile/etc/profile.d/nix.sh # …or open a fresh shell</screen>
|
<prompt>$ </prompt>. $HOME/.nix-profile/etc/profile.d/nix.sh # …or open a fresh shell</screen>
|
||||||
<para>
|
<para>
|
||||||
More details in the
|
More details in the
|
||||||
|
|
|
@ -173,7 +173,7 @@
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
For users of a daemon-less Nix installation on Linux or macOS, you can
|
For users of a daemon-less Nix installation on Linux or macOS, you can
|
||||||
upgrade Nix by running <command>curl https://nixos.org/nix/install |
|
upgrade Nix by running <command>curl -L https://nixos.org/nix/install |
|
||||||
sh</command>, or prior to doing a channel update, running
|
sh</command>, or prior to doing a channel update, running
|
||||||
<command>nix-env -iA nix</command>.
|
<command>nix-env -iA nix</command>.
|
||||||
</para>
|
</para>
|
||||||
|
|
Loading…
Reference in a new issue