nix: revive nix_2_6

The critical regression bug in
https://github.com/NixOS/nix/issues/6572 does not appear (at least as
often) in nix 2.6 according to the discussion there, so we need to
allow people to pin this older version.

Partial revert of
b2eea05b06
This commit is contained in:
Profpatsch 2022-11-09 10:43:31 +01:00
parent 4eb5bc476b
commit 90e7699ad7

View file

@ -50,7 +50,13 @@ in lib.makeExtensible (self: {
nix_2_5 = throw "nixVersions.nix_2_5 has been removed";
nix_2_6 = throw "nixVersions.nix_2_6 has been removed";
# This is the last version of nix where https://github.com/NixOS/nix/issues/6572
# is not an unsolved breaking bug. Please keep it until the issue is fixed
# and in latest stable nix.
nix_2_6 = common {
version = "2.6.1";
sha256 = "sha256-E9iQ7f+9Z6xFcUvvfksTEfn8LsDfzmwrcRBC//5B3V0=";
};
nix_2_7 = common {
version = "2.7.0";