···88 Starting with release 25.05, the minimum supported version will be macOS Big Sur 11, and we cannot guarantee that packages will continue to work on older versions of macOS.
99 Users on old macOS versions should consider upgrading to a supported version (potentially using [OpenCore Legacy Patcher](https://dortania.github.io/OpenCore-Legacy-Patcher/) for old hardware) or installing NixOS.
1010 If neither of those options are viable and you require new versions of software, [MacPorts](https://www.macports.org/) supports back to Mac OS X Snow Leopard 10.6.
1111+- Nix was updated to 2.24, which brings a lot of improvements and fixes. See the release notes for
1212+ [2.19](https://nix.dev/manual/nix/latest/release-notes/rl-2.19),
1313+ [2.20](https://nix.dev/manual/nix/latest/release-notes/rl-2.20),
1414+ [2.21](https://nix.dev/manual/nix/latest/release-notes/rl-2.21),
1515+ [2.22](https://nix.dev/manual/nix/latest/release-notes/rl-2.22),
1616+ [2.23](https://nix.dev/manual/nix/latest/release-notes/rl-2.23),
1717+ [2.24](https://nix.dev/manual/nix/latest/release-notes/rl-2.24).
1818+ Notable changes include improvements to Git fetching, documentation comment support in `nix-repl> :doc`, as well as many quality of life improvements.
11191220- Convenience options for `amdgpu`, open source driver for Radeon cards, is now available under `hardware.amdgpu`.
1321
···66, nix
77, pkg-config
88# Whether to build the nix-doc plugin for Nix
99-, withPlugin ? true
99+, withPlugin ? false # no longer needed for nix 2.24
1010}:
11111212let
+10
pkgs/tools/package-management/nix/common.nix
···85858686 # passthru tests
8787, pkgsi686Linux
8888+, pkgsStatic
8889, runCommand
9090+, pkgs
8991}: let
9092self = stdenv.mkDerivation {
9193 pname = "nix";
···262264263265 tests = {
264266 nixi686 = pkgsi686Linux.nixVersions.${self_attribute_name};
267267+ nixStatic = pkgsStatic.nixVersions.${self_attribute_name};
268268+265269 # Basic smoke test that needs to pass when upgrading nix.
266270 # Note that this test does only test the nixVersions.stable attribute.
267271 misc = nixosTests.nix-misc.default;
···281285 fi
282286 touch $out
283287 '';
288288+289289+ /** Intended to test `lib`, but also a good smoke test for Nix */
290290+ nixpkgs-lib = import ../../../../lib/tests/test-with-nix.nix {
291291+ inherit lib pkgs;
292292+ nix = self;
293293+ };
284294 };
285295 };
286296
+4-2
pkgs/tools/package-management/nix/default.nix
···115115 runCommand "test-nix-fallback-paths-version-equals-nix-stable" {
116116 paths = lib.concatStringsSep "\n" (builtins.attrValues (import ../../../../nixos/modules/installer/tools/nix-fallback-paths.nix));
117117 } ''
118118- if [[ "" != $(grep -v 'nix-${pkg.version}$' <<< "$paths") ]]; then
118118+ # NOTE: name may contain cross compilation details between the pname
119119+ # and version this is permitted thanks to ([^-]*-)*
120120+ if [[ "" != $(grep -vE 'nix-([^-]*-)*${lib.strings.replaceStrings ["."] ["\\."] pkg.version}$' <<< "$paths") ]]; then
119121 echo "nix-fallback-paths not up to date with nixVersions.stable (nix-${pkg.version})"
120122 echo "The following paths are not up to date:"
121123 grep -v 'nix-${pkg.version}$' <<< "$paths"
···239241 else
240242 nix;
241243242242- stable = addFallbackPathsCheck self.nix_2_18;
244244+ stable = addFallbackPathsCheck self.nix_2_24;
243245} // lib.optionalAttrs config.allowAliases (
244246 lib.listToAttrs (map (
245247 minor: