about summary refs log tree commit diff
path: root/third_party/nix/clangd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/clangd.nix')
-rw-r--r--third_party/nix/clangd.nix4
1 files changed, 2 insertions, 2 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 $@
 ''