File tree Expand file tree Collapse file tree 8 files changed +27
-21
lines changed
development/tools/language-servers/nixd Expand file tree Collapse file tree 8 files changed +27
-21
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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
1016stdenv . mkDerivation ( finalAttrs : {
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 ] ;
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 88 llvmPackages ,
99 meson ,
1010 ninja ,
11- nixForLinking ,
11+ nixVersions ,
1212 nix-update-script ,
1313 nixd ,
1414 nixf ,
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 ;
127127 sourceRoot = "${ common . src . name } /nixd" ;
128128
129129 buildInputs = [
130- nixForLinking
130+ nixVersions . nix_2_24
131131 nixf
132132 nixt
133133 llvmPackages . llvm
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 ;
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments