Skip to content

Commit

Permalink
nix: revive nix_2_6
Browse files Browse the repository at this point in the history
The critical regression bug in
NixOS/nix#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
NixOS@b2eea05
  • Loading branch information
Profpatsch authored and zhaofengli committed Nov 14, 2022
1 parent 40d7578 commit 9beb8f5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/tools/package-management/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 9beb8f5

Please sign in to comment.