mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Document Makefile
variables in hacking.md
(#9620)
This commit is contained in:
parent
419a64f9e0
commit
7f5ed330e4
1 changed files with 9 additions and 0 deletions
|
@ -64,6 +64,15 @@ $ nix build
|
|||
|
||||
You can also build Nix for one of the [supported platforms](#platforms).
|
||||
|
||||
## Makefile variables
|
||||
|
||||
- `ENABLE_BUILD=yes` to enable building the C++ code.
|
||||
- `ENABLE_TESTS=yes` to enable building the tests.
|
||||
- `OPTIMIZE=1` to enable optimizations.
|
||||
- `doc_generate=yes` to enable building the documentation (manual, man pages, etc.).
|
||||
|
||||
The docs can take a while to build, so you may want to disable this for local development.
|
||||
|
||||
## Building Nix
|
||||
|
||||
To build all dependencies and start a shell in which all environment variables are set up so that those dependencies can be found:
|
||||
|
|
Loading…
Reference in a new issue