Skip to content

Commit 6ed65d9

Browse files
committed
docs: add -L to remaining curl install commands
1 parent 2e7fcfd commit 6ed65d9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if ! builtins ? nixVersion || builtins.compareVersions requiredVersion builtins.
1414
- If you installed Nix using the install script (https://nixos.org/nix/install),
1515
it is safe to upgrade by running it again:
1616
17-
curl https://nixos.org/nix/install | sh
17+
curl -L https://nixos.org/nix/install | sh
1818
1919
For more information, please see the NixOS release notes at
2020
https://nixos.org/nixos/manual or locally at

nixos/doc/manual/installation/installing-from-other-distro.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
Short version:
4848
</para>
4949
<screen>
50-
<prompt>$ </prompt>curl https://nixos.org/nix/install | sh
50+
<prompt>$ </prompt>curl -L https://nixos.org/nix/install | sh
5151
<prompt>$ </prompt>. $HOME/.nix-profile/etc/profile.d/nix.sh # …or open a fresh shell</screen>
5252
<para>
5353
More details in the

nixos/doc/manual/release-notes/rl-1903.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
<listitem>
174174
<para>
175175
For users of a daemon-less Nix installation on Linux or macOS, you can
176-
upgrade Nix by running <command>curl https://nixos.org/nix/install |
176+
upgrade Nix by running <command>curl -L https://nixos.org/nix/install |
177177
sh</command>, or prior to doing a channel update, running
178178
<command>nix-env -iA nix</command>.
179179
</para>

0 commit comments

Comments
 (0)