aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/manual/installation/installing-binary.xml2
-rw-r--r--scripts/install.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/installation/installing-binary.xml b/doc/manual/installation/installing-binary.xml
index 394d8053b..3f57f47b5 100644
--- a/doc/manual/installation/installing-binary.xml
+++ b/doc/manual/installation/installing-binary.xml
@@ -142,7 +142,7 @@ sudo rm /Library/LaunchDaemons/org.nixos.nix-daemon.plist
<para>
NixOS.org hosts version-specific installation URLs for all Nix
versions since 1.11.16, at
- <literal>https://nixos.org/releases/nix/nix-VERSION/install</literal>.
+ <literal>https://releases.nixos.org/nix/nix-<replaceable>version</replaceable>/install</literal>.
</para>
<para>
diff --git a/scripts/install.in b/scripts/install.in
index 76cb3b1fd..4500fd54a 100644
--- a/scripts/install.in
+++ b/scripts/install.in
@@ -30,7 +30,7 @@ case "$(uname -s).$(uname -m)" in
*) oops "sorry, there is no binary distribution of Nix for your platform";;
esac
-url="https://nixos.org/releases/nix/nix-@nixVersion@/nix-@nixVersion@-$system.tar.xz"
+url="https://releases.nixos.org/nix/nix-@nixVersion@/nix-@nixVersion@-$system.tar.xz"
tarball="$tmpDir/$(basename "$tmpDir/nix-@nixVersion@-$system.tar.xz")"