You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/nix-installation.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -39,12 +39,12 @@ Hopefully, this alleviates any worry about installing a complex program on your
39
39
40
40
> **<spanclass="underline">NOTE:</span>** You don't need this step if you're running NixOS, which comes with Nix baked in.
41
41
42
-
Though the latest version of Nix is Nix 2.25.3, we'll be installing the version that the last release of NixOS (24.11) uses, specifically Nix 2.24.10. As discussed in the included [introduction to Nix](nix-introduction.md), this version is considered stable by the Nix community.
42
+
Though the latest version of Nix is Nix 2.25.3, we'll be installing the version that the last release of NixOS (24.11) uses, specifically Nix 2.24.11. As discussed in the included [introduction to Nix](nix-introduction.md), this version is considered stable by the Nix community.
43
43
44
44
The following command calls the official installation script for the recommended version of Nix. Note, this script will require `sudo` access.
45
45
46
46
```bash
47
-
sh <(curl -L https://releases.nixos.org/nix/nix-2.24.10/install) --daemon
47
+
sh <(curl -L https://releases.nixos.org/nix/nix-2.24.11/install) --daemon
48
48
```
49
49
50
50
The `--daemon` switch installs Nix in the multi-user mode, which is generally recommended (single-user installation with `--no-daemon` instead is recommended for WSL). The script reports everything it does and touches.
Copy file name to clipboardExpand all lines: doc/nix-introduction.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -194,11 +194,11 @@ However, if industrial users move to flakes to address these problems, we have t
194
194
195
195
### Nix quick releases compete with stability<aid="sec-4-2-3"></a>
196
196
197
-
The latest major version of the Nix package manager is currently Nix 2.25.3, but NixOS 24.11, the latest stable release of NixOS, uses Nix 2.24.10. NixOS is the primary way the Nix package manager gets used in the field. Far fewer users install Nix as a package manager atop another operating system. From a community perspective it makes sense to consider Nix 2.24.10 the stable release of the package manager. This version gets the most scrutiny and critical bug fixes.
197
+
The latest major version of the Nix package manager is currently Nix 2.25.3, but NixOS 24.11, the latest stable release of NixOS, uses Nix 2.24.11. NixOS is the primary way the Nix package manager gets used in the field. Far fewer users install Nix as a package manager atop another operating system. From a community perspective it makes sense to consider Nix 2.24.11 the stable release of the package manager. This version gets the most scrutiny and critical bug fixes.
198
198
199
-
As mentioned above, there are strong reasons to use still-experimental features, particularly flakes. However, APIs and calculated hashes change too frequently in experimental features from version-to-version. By sticking with the version used in NixOS, we get less breaking changes. For example, the [flake.lock](../flake.lock) file included with this project has calculated hashes for dependencies. These hashes were computed with Nix 2.24.10, and could change with later versions.
199
+
As mentioned above, there are strong reasons to use still-experimental features, particularly flakes. However, APIs and calculated hashes change too frequently in experimental features from version-to-version. By sticking with the version used in NixOS, we get less breaking changes. For example, the [flake.lock](../flake.lock) file included with this project has calculated hashes for dependencies. These hashes were computed with Nix 2.24.11, and could change with later versions.
200
200
201
-
For these reasons, the [installation guide included with this project](nix-installation.md) recommends installing Nix 2.24.10, rather than the latest official release.
201
+
For these reasons, the [installation guide included with this project](nix-installation.md) recommends installing Nix 2.24.11, rather than the latest official release.
0 commit comments