Skip to content

Commit 6a39c6e

Browse files
authored
nixVersions.stable: 2.24 -> 2.28 (#396442)
2 parents 58a2a2f + f81520f commit 6a39c6e

File tree

8 files changed

+27
-21
lines changed

8 files changed

+27
-21
lines changed

pkgs/by-name/at/attic-client/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
rustPlatform,
44
fetchFromGitHub,
5-
nixForLinking,
5+
nixVersions,
66
nixosTests,
77
boost,
88
pkg-config,
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage {
2929

3030
buildInputs =
3131
[
32-
nixForLinking
32+
nixVersions.nix_2_24
3333
boost
3434
]
3535
++ lib.optionals stdenv.hostPlatform.isDarwin (
@@ -44,7 +44,7 @@ rustPlatform.buildRustPackage {
4444
useFetchCargoVendor = true;
4545

4646
ATTIC_DISTRIBUTOR = "nixpkgs";
47-
NIX_INCLUDE_PATH = "${lib.getDev nixForLinking}/include";
47+
NIX_INCLUDE_PATH = "${lib.getDev nixVersions.nix_2_24}/include";
4848

4949
# Attic interacts with Nix directly and its tests require trusted-user access
5050
# to nix-daemon to import NARs, which is not possible in the build sandbox.

pkgs/by-name/li/libblake3/package.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44
cmake,
55
fetchFromGitHub,
66
tbb_2021_11,
7-
useTBB ? true,
7+
8+
# Until we have a release with
9+
# https://github.com/BLAKE3-team/BLAKE3/pull/461 and similar, or those
10+
# PRs are patched onto this current release. Even then, I think we
11+
# still need to disable for MinGW build because
12+
# https://github.com/BLAKE3-team/BLAKE3/issues/467
13+
useTBB ? false,
814
}:
915

1016
stdenv.mkDerivation (finalAttrs: {

pkgs/by-name/ni/nickel/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
python3,
77
versionCheckHook,
88
pkg-config,
9-
nix,
9+
nixVersions,
1010
nix-update-script,
1111
enableNixImport ? true,
1212
}:
@@ -39,7 +39,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
3939
];
4040

4141
buildInputs = lib.optionals enableNixImport [
42-
nix
42+
nixVersions.nix_2_24
4343
boost
4444
];
4545

pkgs/by-name/ni/nix-heuristic-gc/package.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
lib,
55
fetchFromGitHub,
6-
nix,
6+
nixVersions,
77
boost,
88
python3Packages,
99
}:
@@ -19,12 +19,12 @@ python3Packages.buildPythonPackage rec {
1919

2020
# NIX_SYSTEM suggested at
2121
# https://github.com/NixOS/nixpkgs/issues/386184#issuecomment-2692433531
22-
NIX_SYSTEM = nix.stdenv.hostPlatform.system;
23-
NIX_CFLAGS_COMPILE = [ "-I${lib.getDev nix}/include/nix" ];
22+
NIX_SYSTEM = nixVersions.nix_2_24.stdenv.hostPlatform.system;
23+
NIX_CFLAGS_COMPILE = [ "-I${lib.getDev nixVersions.nix_2_24}/include/nix" ];
2424

2525
buildInputs = [
2626
boost
27-
nix
27+
nixVersions.nix_2_24
2828
python3Packages.pybind11
2929
python3Packages.setuptools
3030
];

pkgs/by-name/ni/nix-plugins/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
stdenv,
44
fetchFromGitHub,
5-
nix,
5+
nixVersions,
66
cmake,
77
pkg-config,
88
boost,
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
];
2626

2727
buildInputs = [
28-
nix
28+
nixVersions.nix_2_24
2929
boost
3030
];
3131

pkgs/development/tools/language-servers/nixd/default.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
llvmPackages,
99
meson,
1010
ninja,
11-
nixForLinking,
11+
nixVersions,
1212
nix-update-script,
1313
nixd,
1414
nixf,
@@ -101,12 +101,12 @@ in
101101
];
102102

103103
buildInputs = [
104-
nixForLinking
104+
nixVersions.nix_2_24
105105
gtest
106106
boost
107107
];
108108

109-
env.CXXFLAGS = "-include ${nixForLinking.dev}/include/nix/config.h";
109+
env.CXXFLAGS = "-include ${nixVersions.nix_2_24.dev}/include/nix/config.h";
110110

111111
passthru.tests.pkg-config = testers.hasPkgConfigModules {
112112
package = nixt;
@@ -127,7 +127,7 @@ in
127127
sourceRoot = "${common.src.name}/nixd";
128128

129129
buildInputs = [
130-
nixForLinking
130+
nixVersions.nix_2_24
131131
nixf
132132
nixt
133133
llvmPackages.llvm
@@ -137,7 +137,7 @@ in
137137

138138
nativeBuildInputs = common.nativeBuildInputs ++ [ cmake ];
139139

140-
env.CXXFLAGS = "-include ${nixForLinking.dev}/include/nix/config.h";
140+
env.CXXFLAGS = "-include ${nixVersions.nix_2_24.dev}/include/nix/config.h";
141141

142142
# See https://github.com/nix-community/nixd/issues/519
143143
doCheck = false;

pkgs/tools/package-management/nix-du/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
stdenv,
44
fetchFromGitHub,
55
rustPlatform,
6-
nixForLinking,
6+
nixVersions,
77
nlohmann_json,
88
boost,
99
graphviz,
@@ -27,13 +27,13 @@ rustPlatform.buildRustPackage rec {
2727

2828
doCheck = true;
2929
nativeCheckInputs = [
30-
nixForLinking
30+
nixVersions.nix_2_24
3131
graphviz
3232
];
3333

3434
buildInputs = [
3535
boost
36-
nixForLinking
36+
nixVersions.nix_2_24
3737
nlohmann_json
3838
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
3939

pkgs/tools/package-management/nix/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ lib.makeExtensible (
228228
nix;
229229

230230
# Read ./README.md before bumping a major release
231-
stable = addFallbackPathsCheck self.nix_2_24;
231+
stable = addFallbackPathsCheck self.nix_2_28;
232232
}
233233
// lib.optionalAttrs config.allowAliases (
234234
lib.listToAttrs (

0 commit comments

Comments
 (0)