Skip to content

Commit 4166f59

Browse files
authored
Merge pull request NixOS#12348 from NixOS/doc-building-11799
doc/building: Update for NixOS#11799
2 parents 10c8d79 + ace52b1 commit 4166f59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/manual/source/development/building.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ This shell also adds `./outputs/bin/nix` to your `$PATH` so you can run `nix` im
7979
To get a shell with one of the other [supported compilation environments](#compilation-environments):
8080

8181
```console
82-
$ nix develop .#native-clangStdenvPackages
82+
$ nix develop .#native-clangStdenv
8383
```
8484

8585
> **Note**
@@ -261,7 +261,8 @@ See [supported compilation environments](#compilation-environments) and instruct
261261
To use the LSP with your editor, you will want a `compile_commands.json` file telling `clangd` how we are compiling the code.
262262
Meson's configure always produces this inside the build directory.
263263

264-
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).
264+
Configure your editor to use the `clangd` from the `.#native-clangStdenv` shell.
265+
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).
265266

266267
> **Note**
267268
>

0 commit comments

Comments
 (0)