Skip to content

Commit

Permalink
hotfix nix install URL: set to 2.18.5
Browse files Browse the repository at this point in the history
  • Loading branch information
roberth committed Sep 9, 2024
1 parent fdc6164 commit 089bfe4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/content/download/01-nix-linux.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ platform: linux
Install Nix via the <span class="font-bold">recommended</span> [multi-user installation](/manual/nix/stable/installation/multi-user):

```bash
$ sh <(curl -L https://nixos.org/nix/install) --daemon
$ sh <(curl -L https://releases.nixos.org/nix/nix-2.18.5/install) --daemon
```

We recommend the multi-user install if you are on Linux running systemd, with SELinux disabled and you can authenticate with `sudo`.
Expand All @@ -19,7 +19,7 @@ We recommend the multi-user install if you are on Linux running systemd, with SE
Install Nix via the [single-user installation](/manual/nix/stable/installation/single-user):

```bash
$ sh <(curl -L https://nixos.org/nix/install) --no-daemon
$ sh <(curl -L https://releases.nixos.org/nix/nix-2.18.5/install) --no-daemon
```

Above command will perform a single-user installation of Nix, meaning that `nix` is owned by the invoking user. You should run this under your usual user account, not as `root`. The script will invoke `sudo` to create `/nix` if it doesn’t already exist.
Expand Down
2 changes: 1 addition & 1 deletion src/content/download/02-nix-macos.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ platform: macos
Install Nix via the **recommended** [multi-user installation](/manual/nix/stable/installation/multi-user):

```bash
$ sh <(curl -L https://nixos.org/nix/install)
$ sh <(curl -L https://releases.nixos.org/nix/nix-2.18.5/install)
```

We believe we have ironed out how to cleanly support the read-only root on modern macOS. Please [consult the manual](/manual/nix/stable/installation/installing-binary#macos-installation) on details what the installation script does.
4 changes: 2 additions & 2 deletions src/content/download/03-nix-wsl2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Follow
to configure it, and then install Nix using:

```bash
$ sh <(curl -L https://nixos.org/nix/install) --daemon
$ sh <(curl -L https://releases.nixos.org/nix/nix-2.18.5/install) --daemon
```

### Single-user installation

Install Nix via the [single-user installation](/manual/nix/stable/installation/single-user)

```bash
$ sh <(curl -L https://nixos.org/nix/install) --no-daemon
$ sh <(curl -L https://releases.nixos.org/nix/nix-2.18.5/install) --no-daemon
```

0 comments on commit 089bfe4

Please sign in to comment.