hacking.md: add --prefix flag to configure

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).
This commit is contained in:
Cole Helbling
2020-09-01 12:06:02 -07:00
parent a76b8b5467
commit a72ed3e8a1
+1 -1
View File
@@ -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
```