1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

doc/dev/documentation: Use appendToVar

Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
Robert Hensing 2025-10-29 22:53:43 +01:00 committed by GitHub
parent 5fc0c4f102
commit f301669adc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -244,5 +244,5 @@ $ xdg-open src/external-api-docs/html/index.html
If you use direnv, or otherwise want to run `configurePhase` in a transient shell, use:
```bash
nix-shell -A devShells.x86_64-linux.native-clangStdenv --command 'mesonFlags="$mesonFlags -Ddoc-gen=true"; mesonConfigurePhase'
nix-shell -A devShells.x86_64-linux.native-clangStdenv --command 'appendToVar mesonFlags "-Ddoc-gen=true"; mesonConfigurePhase'
```