about summary refs log tree commit diff
path: root/third_party/nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix')
-rw-r--r--third_party/nix/clangd.nix4
-rw-r--r--third_party/nix/default.nix6
2 files changed, 5 insertions, 5 deletions
diff --git a/third_party/nix/clangd.nix b/third_party/nix/clangd.nix
index 70d2fa321476..7a29819b10ee 100644
--- a/third_party/nix/clangd.nix
+++ b/third_party/nix/clangd.nix
@@ -23,8 +23,8 @@ pkgs.writeShellScriptBin "nix-clangd" ''
 
   export CPATH=''${CPATH}''${CPATH:+':'}:$(buildcpath ''${NIX_CFLAGS_COMPILE})
   export CPATH=${pkgs.glibc.dev}/include''${CPATH:+':'}''${CPATH}
-  export CPLUS_INCLUDE_PATH=${pkgs.llvmPackages.libcxx}/include/c++/v1:''${CPATH}
+  export CPLUS_INCLUDE_PATH=${pkgs.llvmPackages_11.libcxx}/include/c++/v1:''${CPATH}
 
   # TODO(tazjin): Configurable commands directory?
-  exec -a clangd ${pkgs.llvmPackages.clang-unwrapped}/bin/clangd -cross-file-rename $@
+  exec -a clangd ${pkgs.llvmPackages_11.clang-unwrapped}/bin/clangd -cross-file-rename $@
 ''
diff --git a/third_party/nix/default.nix b/third_party/nix/default.nix
index df6a6da72ff7..42b0324e8ea9 100644
--- a/third_party/nix/default.nix
+++ b/third_party/nix/default.nix
@@ -57,14 +57,14 @@ let
     cp ${pkgs.busybox}/bin/busybox $out/bin
   '';
 
-in lib.fix (self: pkgs.llvmPackages.libcxxStdenv.mkDerivation {
+in lib.fix (self: pkgs.llvmPackages_11.libcxxStdenv.mkDerivation {
   pname = "tvix";
   version = "2.3.4";
   inherit src;
 
   nativeBuildInputs = with pkgs; [
     bison
-    clang-tools
+    clang-tools_11
     cmake
     libxml2
     libxslt
@@ -143,7 +143,7 @@ in lib.fix (self: pkgs.llvmPackages.libcxxStdenv.mkDerivation {
   NIX_PROTO_SRCS = protoSrcs;
 
   # Work around broken system header include flags in the cxx toolchain.
-  LIBCXX_INCLUDE = "${pkgs.llvmPackages.libcxx}/include/c++/v1";
+  LIBCXX_INCLUDE = "${pkgs.llvmPackages_11.libcxx}/include/c++/v1";
 
   SANDBOX_SHELL="${pkgs.busybox}/bin/busybox";