Commit graph

3 commits

Author SHA1 Message Date
Michael Livshin
782cb7aea0 fix clangd wrapper
* get libc-cflags and libcxx-cxxflags from the sibling clang
  derivation.

* fix the order of those for C++ (libc-cflags use -idirafter for a
  reason).
2021-04-24 10:37:57 +03:00
Jörg Thalheim
1caddbe258
clang-tools: fix substitution in wrapper 2019-12-01 17:12:00 +00:00
Jörg Thalheim
a10ef1aa4f
clang-tools: teach about nix's include path
By translating NIX_CFLAGS_COMPILE to CPATH,
all tools will now find c headers properly,
when run in a nix-shell.
2019-11-13 18:29:58 +00:00