Merge pull request #157211 from lovesegfault/makeExtensible-nixVersions

nixVersions: makeExtensible
This commit is contained in:
Bernardo Meurer 2022-01-28 17:41:27 -08:00 committed by GitHub
commit 6dd2a258db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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=";
};
});
}
})