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
1.4 KiB
R"(
Lix supports different types of stores. These are described below.
Store URL format
Stores are specified using a URL-like syntax. For example, the command
# nix path-info --store https://cache.nixos.org/ --json \
/nix/store/a7gvj343m05j2s32xcnwr35v31ynlypr-coreutils-9.1
fetches information about a store path in the HTTP binary cache located at https://cache.nixos.org/, which is a type of store.
Store URLs can specify store settings using URL query strings,
i.e. by appending ?name1=value1&name2=value2&... to the URL. For
instance,
--store ssh://machine.example.org?ssh-key=/path/to/my/key
tells Lix to access the store on a remote machine via the SSH
protocol, using /path/to/my/key as the SSH private key. The
supported settings for each store type are documented below.
The special store URL auto causes Lix to automatically select a
store as follows:
-
Use the local store
/nix/storeif/nix/var/nixis writable by the current user. -
Otherwise, if
/nix/var/nix/daemon-socket/socketexists, connect to the Nix daemon listening on that socket. -
Otherwise, on Linux only, use the local chroot store
~/.local/share/nix/root, which will be created automatically if it does not exist. -
Otherwise, use the local store
/nix/store.
@stores@
)"