Skip to content

Commit

Permalink
hacking.md: add --prefix flag to configure
Browse files Browse the repository at this point in the history
Otherwise, the steps advertised in this document won't actually work
(e.g. `make install` will fail, trying to access /usr, and
`./inst/bin/nix` won't exist).
  • Loading branch information
cole-h committed Sep 1, 2020
1 parent a76b8b5 commit a72ed3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/manual/src/hacking.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ To build Nix itself in this shell:

```console
[nix-shell]$ ./bootstrap.sh
[nix-shell]$ ./configure $configureFlags
[nix-shell]$ ./configure $configureFlags --prefix=$(pwd)/inst
[nix-shell]$ make -j $NIX_BUILD_CORES
```

Expand Down

0 comments on commit a72ed3e

Please sign in to comment.