clangd broke because it can't look through symlinks. compile_commands manipulation does not fix it, clangd configuration does not fix it, a vfs overlay does not fix it, and while a combination of those can fix it with a bind mount in place that's just too cursed to even consider clangd bug: https://github.com/llvm/llvm-project/issues/116877 Change-Id: I8e3e8489548eb3a7aa65ac9d12a5ec8abf814aec
783 B
783 B
name, args
| name | args | |
|---|---|---|
| storePath |
|
This function allows you to define a dependency on an already
existing store path. For example, the derivation attribute src = builtins.storePath /nix/store/f1d18v1y…-source causes the
derivation to depend on the specified path, which must exist or
be substitutable. Note that this differs from a plain path
(e.g. src = /nix/store/f1d18v1y…-source) in that the latter
causes the path to be copied again to the Nix store, resulting
in a new path (e.g. /nix/store/ld01dnzc…-source-source).
Not available in pure evaluation mode. Lix may change this, tracking issue: https://git.lix.systems/lix-project/lix/issues/402
See also builtins.fetchClosure.