diff options
author | Cole Helbling <cole.e.helbling@outlook.com> | 2020-09-01 12:06:02 -0700 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2020-09-01 12:06:02 -0700 |
commit | a72ed3e8a1028c66c36b7dd66dc9dd50a0a6ecc1 (patch) | |
tree | 4a351b4d6a3a0c428ecfbeaa3d67ccd89eef2907 /doc | |
parent | a76b8b546753bc14aa2e8f8fdc74f70407aebd31 (diff) |
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).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/src/hacking.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/src/hacking.md b/doc/manual/src/hacking.md index 9049e42bb..5bd884ce8 100644 --- a/doc/manual/src/hacking.md +++ b/doc/manual/src/hacking.md @@ -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 ``` |