[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: doc: Suggest running guix-daemon with 'sudo -E'.

From: Leo Famulari
Subject: 01/01: doc: Suggest running guix-daemon with 'sudo -E'.
Date: Wed, 17 Jan 2018 18:48:40 -0500 (EST)

lfam pushed a commit to branch master
in repository guix.

commit 67441b9a6ebd4be094a88f6ea4555de026de4dfc
Author: Ludovic Court├Ęs <address@hidden>
Date:   Sat Aug 5 23:08:44 2017 +0200

    doc: Suggest running guix-daemon with 'sudo -E'.
    Suggested by Martin H. <address@hidden>.
    * doc/contributing.texi (Running Guix Before It Is Installed): Suggest
    'sudo -E'.
 doc/contributing.texi | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/contributing.texi b/doc/contributing.texi
index 01f8aad..d8929fa 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -110,10 +110,13 @@ 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:
+top build tree of Guix), as address@hidden @option{-E} flag to
address@hidden 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.}:
-$ sudo ./pre-inst-env guix-daemon --build-users-group=guixbuild
+$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild
 $ ./pre-inst-env guix build hello
 @end example

reply via email to

[Prev in Thread] Current Thread [Next in Thread]