New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nix-shell environment does not work well with clangd #3276
Comments
Does this work if you make the set recursive (add
to the set? |
Unlike clang/clang++ the clangd binary isn't wrapped to make it resolve nix inputs. I currently use |
@lheckemann It works perfectly. Thank you so much. |
Someone please close this, since it's not a nix issue |
Related nixpkgs issue: NixOS/nixpkgs#92739 |
I have a
cmake
project with following nix environment:The app is built successfully, but
clangd
can not find the symbol. I thing the problem isCPATH
orC_INCLUDE_PATH
,CPLUS_INCLUDE_PATH
is not set (https://clang.llvm.org/docs/CommandGuide/clang.html).My temporary solution is:
I thing this should be added to the
mkDerivation
functionThe text was updated successfully, but these errors were encountered: