me
/
guix
Archived
1
0
Fork 0

doc: contributing: Clarify generating the pre-inst-env script.

Lack of clarity reported by lrustland on IRC.

* doc/contributing.texi (Running Guix Before It Is Installed): Refer to
the Building from Git section when giving instructions for generating
the pre-inst-env script.
master
Efraim Flashner 2023-09-11 19:56:12 +03:00
parent 5d2593be0a
commit f4a0e472a9
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 6 deletions

View File

@ -210,12 +210,11 @@ 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 run @code{make install}. To do that, you first need to have an
environment with all the dependencies available (@pxref{Building from environment with all the dependencies available (@pxref{Building from
Git}), and then simply prefix each command with @command{./pre-inst-env} Git}), and then simply prefix each command with @command{./pre-inst-env}
(the @file{pre-inst-env} script lives in the top build tree of Guix; it (the @file{pre-inst-env} script lives in the top build tree of Guix;
is generated by running @command{./bootstrap} followed by @pxref{Building from Git} to generate it). As an example, here is how you
@command{./configure}). As an example, here is how you would build the would build the @code{hello} package as defined in your working tree (this
@code{hello} package as defined in your working tree (this assumes assumes @command{guix-daemon} is already running on your system; it's OK if
@command{guix-daemon} is already running on your system; it's OK if it's it's a different version):
a different version):
@example @example
$ ./pre-inst-env guix build hello $ ./pre-inst-env guix build hello