Skip to content

Commit

Permalink
Merge pull request NixOS#9966 from NixOS/mention-OPTIMIZE-in-hacking-…
Browse files Browse the repository at this point in the history
…guide

Mention `OPTIMIZE=0` more prominently in the hacking guide
  • Loading branch information
thufschmitt authored Feb 15, 2024
2 parents d857914 + 0dea16e commit bc9471d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/manual/src/contributing/hacking.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ To build Nix itself in this shell:
```console
[nix-shell]$ autoreconfPhase
[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:

```console
[nix-shell]$ make install
[nix-shell]$ make install OPTIMIZE=0
[nix-shell]$ make installcheck check -j $NIX_BUILD_CORES
[nix-shell]$ nix --version
nix (Nix) 2.12
Expand Down

0 comments on commit bc9471d

Please sign in to comment.