nixVersions.nix_2_28: init at 2.28.1pre

This includes an important fix that's not in a release yet, hence the
"pre" version.

Addendum from Ericson2314: We've discussed for 25.05 going with the
"monolithic build" for the main `nix_2_28`, but we want to land this
right away to unblock preparing PRs to bump versions downstream.
This commit is contained in:
Robert Hensing 2025-04-05 19:53:14 +02:00 committed by John Ericson
parent 0c501072d5
commit e6b6920aa1
2 changed files with 24 additions and 5 deletions

View File

@ -197,6 +197,20 @@ lib.makeExtensible (
nix_2_27 = addTests "nix_2_27" self.nixComponents_2_27.nix-everything; nix_2_27 = addTests "nix_2_27" self.nixComponents_2_27.nix-everything;
nixComponents_2_28 = nixDependencies.callPackage ./modular/packages.nix {
version = "2.28.1pre";
inherit (self.nix_2_24.meta) maintainers;
otherSplices = generateSplicesForNixComponents "nixComponents_2_28";
src = fetchFromGitHub {
owner = "NixOS";
repo = "nix";
rev = "9cdf72beaa77f1e6c0faed44872b83783051f20d";
hash = "sha256-0sk7cGOdfUA6/AamSsuURHdILxSyw+s2zl7CDaSsawo=";
};
};
nix_2_28 = addTests "nix_2_28" self.nixComponents_2_28.nix-everything;
latest = self.nix_2_26; latest = self.nix_2_26;
# The minimum Nix version supported by Nixpkgs # The minimum Nix version supported by Nixpkgs

View File

@ -6,6 +6,7 @@
nix-util, nix-util,
nix-store, nix-store,
nix-expr,
# Configuration Options # Configuration Options
@ -18,11 +19,15 @@ mkMesonLibrary (finalAttrs: {
workDir = ./.; workDir = ./.;
propagatedBuildInputs = [ propagatedBuildInputs =
nix-util lib.optionals (lib.versionAtLeast version "2.28") [
nix-store nix-expr
openssl ]
]; ++ [
nix-util
nix-store
openssl
];
meta = { meta = {
platforms = lib.platforms.unix ++ lib.platforms.windows; platforms = lib.platforms.unix ++ lib.platforms.windows;