# Clang, clang++, and clangd can't find headers, even with compile\_commands.json

**URL:** https://discourse.nixos.org/t/clang-clang-and-clangd-cant-find-headers-even-with-compile-commands-json/54657
**Category:** Help
**Created:** [October 20, 2024, 9:26pm UTC](https://discourse.nixos.org/t/clang-clang-and-clangd-cant-find-headers-even-with-compile-commands-json/54657 "2024-10-20T21:26:03Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![MP222](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mp222/32/38803_2.png) [@MP222](https://discourse.nixos.org/u/MP222)
#### Post date: [January 5, 2026, 4:34am UTC](https://discourse.nixos.org/t/clang-clang-and-clangd-cant-find-headers-even-with-compile-commands-json/54657/12 "2026-01-05T04:34:54Z")

</div>

Have you tried this? [Get clangd to find standard headers in nix-shell - #10 by jacg](https://discourse.nixos.org/t/get-clangd-to-find-standard-headers-in-nix-shell/11268/10)

---

_[View the full topic](https://discourse.nixos.org/t/clang-clang-and-clangd-cant-find-headers-even-with-compile-commands-json/54657)._
