Clang is missing c++ headers

Recently I’ve been facing issues related to clang compiler. I wanted to use it as lsp provider for my neovim and also for code compilation (clang++).
I had it working, but one moment something changed. I wouldn’t be able to use clang++ to compile c++ files anymore and lsp broke.
In my case, the problem was caused by the compiler linker inavailibility of locating c++ headers and other important stuff.

So, solution i fount is to use nix-env -e '*', reboot, reinstall home-manager, make home-manager switch, reboot again and then enjoy working compiler.

Why this solution worked for me?
I used home-manager for installing clang and other compilers, but then I decided to transfer this to configuration.nix file.
My guess is that home-manager didn’t clean up all mess compilers have made, so I helped it to do it.

For the record, you need clang-tools to use clangd lsp server in nvim