mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
Mention OPTIMIZE=0
more prominently in the hacking guide
This is a game-changer when developing, it shouldn't just be hidden amongst a list of more advanced variables.
This commit is contained in:
parent
09a6e8e703
commit
0dea16e686
@ -44,13 +44,13 @@ To build Nix itself in this shell:
|
|||||||
```console
|
```console
|
||||||
[nix-shell]$ autoreconfPhase
|
[nix-shell]$ autoreconfPhase
|
||||||
[nix-shell]$ configurePhase
|
[nix-shell]$ configurePhase
|
||||||
[nix-shell]$ make -j $NIX_BUILD_CORES
|
[nix-shell]$ make -j $NIX_BUILD_CORES OPTIMIZE=0
|
||||||
```
|
```
|
||||||
|
|
||||||
To install it in `$(pwd)/outputs` and test it:
|
To install it in `$(pwd)/outputs` and test it:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
[nix-shell]$ make install
|
[nix-shell]$ make install OPTIMIZE=0
|
||||||
[nix-shell]$ make installcheck check -j $NIX_BUILD_CORES
|
[nix-shell]$ make installcheck check -j $NIX_BUILD_CORES
|
||||||
[nix-shell]$ nix --version
|
[nix-shell]$ nix --version
|
||||||
nix (Nix) 2.12
|
nix (Nix) 2.12
|
||||||
|
Loading…
Reference in New Issue
Block a user