doc: Running Guix Before It Is Installed: mention ./bootstrap

* doc/contributing.texi (Running Guix Before It Is Installed): Instruct
user to run ./bootstrap before ./configure.

Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
This commit is contained in:
Rovanion Luckey 2020-12-15 12:33:12 +01:00 committed by Jakub Kądziołka
parent 1670de3910
commit ad911c8321
No known key found for this signature in database
GPG key ID: E315A75846131564

View file

@ -166,14 +166,15 @@ actually installing them. So that you can distinguish between your
``end-user'' hat and your ``motley'' costume. ``end-user'' hat and your ``motley'' costume.
To that end, all the command-line tools can be used even if you have not To that end, all the command-line tools can be used even if you have not
run @code{make install}. To do that, you first need to have an environment run @code{make install}. To do that, you first need to have an
with all the dependencies available (@pxref{Building from Git}), and then environment with all the dependencies available (@pxref{Building from
simply prefix each command with Git}), and then simply prefix each command with @command{./pre-inst-env}
@command{./pre-inst-env} (the @file{pre-inst-env} script lives in the (the @file{pre-inst-env} script lives in the top build tree of Guix; it
top build tree of Guix; it is generated by @command{./configure}). is generated by running @command{./bootstrap} followed by
As an example, here is how you would build the @code{hello} package as @command{./configure}). As an example, here is how you would build the
defined in your working tree (this assumes @command{guix-daemon} is @code{hello} package as defined in your working tree (this assumes
already running on your system; it's OK if it's a different version): @command{guix-daemon} is already running on your system; it's OK if it's
a different version):
@example @example
$ ./pre-inst-env guix build hello $ ./pre-inst-env guix build hello