nixpkgs/pkgs/development/tools/clang-tools
Michael Livshin 8e06a39574 clang-tools: fix clangd
Whatever change has necessitated
https://github.com/NixOS/nixpkgs/pull/122044, it also broke clangd --
<clang-wrapper>/resource-root/include is no longer automagically
searched for includes, which kills pretty much any indexing since that
directory contains vital stuff like stddef.h etc.

Fix by appending the directory to CPATH & CPLUS_INCLUDE_PATH in the
clangd wrapper.
2021-06-13 17:31:16 +03:00
..
default.nix
wrapper clang-tools: fix clangd 2021-06-13 17:31:16 +03:00