From cc29d85d06dbb050ac7df0f532ec0bec6212232b Mon Sep 17 00:00:00 2001 From: Picnoir Date: Fri, 22 Mar 2024 22:31:41 +0100 Subject: [PATCH] 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) --- doc/manual/src/contributing/hacking.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/src/contributing/hacking.md b/doc/manual/src/contributing/hacking.md index 28ed49666..2ff70f500 100644 --- a/doc/manual/src/contributing/hacking.md +++ b/doc/manual/src/contributing/hacking.md @@ -261,7 +261,7 @@ To use the LSP with your editor, you first need to [set up `clangd`](https://cla 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** >