From 269b51570319d9f779fc74a12ff855b17768aca9 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Fri, 28 Jan 2022 16:16:25 -0800 Subject: [PATCH] nixVersions: makeExtensible --- pkgs/tools/package-management/nix/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix index 490ddcc53bf9..51f09e5dc437 100644 --- a/pkgs/tools/package-management/nix/default.nix +++ b/pkgs/tools/package-management/nix/default.nix @@ -34,7 +34,7 @@ let boehmgc = boehmgc-nix; aws-sdk-cpp = aws-sdk-cpp-nix; }; -in rec { +in lib.makeExtensible (self: { nix_2_3 = (common rec { version = "2.3.16"; src = fetchurl { @@ -63,7 +63,7 @@ in rec { }; # FIXME: nix_2_6 is broken on aarch64-darwin for now. - stable = nix_2_5; + stable = self.nix_2_5; unstable = lib.lowPrio (common rec { version = "2.7"; @@ -75,4 +75,4 @@ in rec { sha256 = "sha256-aOM9MPNlnWNMobx4CuD4JIXH2poRlG8AKkuxY7FysWg="; }; }); -} +})