mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
Doc: explicitly specify which shell to use to get clangd
I was using by mistake the .#nix-clangStdenv shell to retrieve clangd. This clangd is unusable with the project and constantly segfaults. Let's explicitly state which shell the user should use in the docs. I don't really understand the source of this segfault. I assume it's related to a clang version incompatibility. (16.0.6 for .#nix-clangStdenv 14.0.6 for .#native-clangStdenvPackages)
This commit is contained in:
parent
a223280664
commit
cc29d85d06
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ To use the LSP with your editor, you first need to [set up `clangd`](https://cla
|
||||||
make compile_commands.json
|
make compile_commands.json
|
||||||
```
|
```
|
||||||
|
|
||||||
Configure your editor to use the `clangd` from the shell, either by running it inside the development shell, or by using [nix-direnv](https://github.com/nix-community/nix-direnv) and [the appropriate editor plugin](https://github.com/direnv/direnv/wiki#editor-integration).
|
Configure your editor to use the `clangd` from the `.#native-clangStdenvPackages` shell. You can do that either by running it inside the development shell, or by using [nix-direnv](https://github.com/nix-community/nix-direnv) and [the appropriate editor plugin](https://github.com/direnv/direnv/wiki#editor-integration).
|
||||||
|
|
||||||
> **Note**
|
> **Note**
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue