~ruther/guix-local

73a203450d21241eca50375aeb26fb418b287414 — Leo Famulari 8 years ago 57e96e4
Revert "doc: Suggest running guix-daemon with 'sudo -E'."

This change might not correct, so we revert it for now:

https://lists.gnu.org/archive/html/guix-devel/2017-08/msg00057.html

This reverts commit 6a4364335c967f841b53ed35c22f90445437e4b0.
1 files changed, 2 insertions(+), 5 deletions(-)

M doc/contributing.texi
M doc/contributing.texi => doc/contributing.texi +2 -5
@@ 110,13 110,10 @@ actually installing them.  So that you can distinguish between your
To that end, all the command-line tools can be used even if you have not
run @code{make install}.  To do that, prefix each command with
@command{./pre-inst-env} (the @file{pre-inst-env} script lives in the
top build tree of Guix), as in@footnote{The @option{-E} flag to
@command{sudo} guarantees that @code{GUILE_LOAD_PATH} is correctly set
such that @command{guix-daemon} and the tools it uses can find the Guile
modules they need.}:
top build tree of Guix), as in:

@example
$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild
$ sudo ./pre-inst-env guix-daemon --build-users-group=guixbuild
$ ./pre-inst-env guix build hello
@end example