nixVersions.latest: set to nix 2.25 (#357056)
This commit is contained in:
commit
1fb3496b1e
@ -21,6 +21,7 @@ let
|
||||
atLeast220 = lib.versionAtLeast version "2.20pre";
|
||||
atLeast221 = lib.versionAtLeast version "2.21pre";
|
||||
atLeast224 = lib.versionAtLeast version "2.24pre";
|
||||
atLeast225 = lib.versionAtLeast version "2.25pre";
|
||||
# Major.minor versions unaffected by CVE-2024-27297
|
||||
unaffectedByFodSandboxEscape = [
|
||||
"2.3"
|
||||
@ -69,9 +70,9 @@ in
|
||||
, mdbook-linkcheck
|
||||
, nlohmann_json
|
||||
, nixosTests
|
||||
, nixVersions
|
||||
, openssl
|
||||
, perl
|
||||
, python3
|
||||
, pkg-config
|
||||
, rapidcheck
|
||||
, Security
|
||||
@ -151,6 +152,8 @@ self = stdenv.mkDerivation {
|
||||
libgit2
|
||||
] ++ lib.optionals (atLeast224 || lib.versionAtLeast version "pre20240626") [
|
||||
toml11
|
||||
] ++ lib.optionals (atLeast225 && enableDocumentation) [
|
||||
python3
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
Security
|
||||
] ++ lib.optionals (stdenv.hostPlatform.isx86_64) [
|
||||
@ -174,10 +177,9 @@ self = stdenv.mkDerivation {
|
||||
(darwinMinVersionHook "10.13")
|
||||
];
|
||||
|
||||
|
||||
propagatedBuildInputs = [
|
||||
boehmgc
|
||||
] ++ lib.optionals (atLeast27) [
|
||||
] ++ lib.optionals atLeast27 [
|
||||
nlohmann_json
|
||||
];
|
||||
|
||||
|
@ -233,7 +233,7 @@ in lib.makeExtensible (self: ({
|
||||
self_attribute_name = "git";
|
||||
};
|
||||
|
||||
latest = self.nix_2_24;
|
||||
latest = self.nix_2_25;
|
||||
|
||||
# The minimum Nix version supported by Nixpkgs
|
||||
# Note that some functionality *might* have been backported into this Nix version,
|
||||
|
Loading…
Reference in New Issue
Block a user