aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-01-04 23:42:51 +0100
committerLudovic Courtès <ludo@gnu.org>2015-01-04 23:42:51 +0100
commit4379c35b73e912a42dcea7e89aae1e2edd9708cd (patch)
tree455ace1c46b14cc59698f460b9aa7b2e7f33b5d2 /doc
parent63cbe7a17a008699d5d2eb647f9531c833085376 (diff)
downloadguix-4379c35b73e912a42dcea7e89aae1e2edd9708cd.tar
guix-4379c35b73e912a42dcea7e89aae1e2edd9708cd.tar.gz
doc: guix-daemon now automatically creates '…/profiles/per-user'.
Fixes <http://bugs.gnu.org/19315>. Reported by rekado <rekado@elephly.net>. * doc/guix.texi (Invoking guix package): Adjust text to new guix-daemon behavior introduced in commit 15ddeff.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi17
1 files changed, 8 insertions, 9 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 00737850fd..12a1808137 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -10,7 +10,7 @@
@include version.texi
@copying
-Copyright @copyright{} 2012, 2013, 2014 Ludovic Courtès@*
+Copyright @copyright{} 2012, 2013, 2014, 2015 Ludovic Courtès@*
Copyright @copyright{} 2013, 2014 Andreas Enge@*
Copyright @copyright{} 2013 Nikita Karetnikov
@@ -830,16 +830,15 @@ current generation of the user's default profile. Thus, users can add
@file{$HOME/.guix-profile/bin} to their @code{PATH} environment
variable, and so on.
-In a multi-user setup, user profiles must be stored in a place
-registered as a @dfn{garbage-collector root}, which
-@file{$HOME/.guix-profile} points to (@pxref{Invoking guix gc}). That
-directory is normally
+In a multi-user setup, user profiles are stored in a place registered as
+a @dfn{garbage-collector root}, which @file{$HOME/.guix-profile} points
+to (@pxref{Invoking guix gc}). That directory is normally
@code{@var{localstatedir}/profiles/per-user/@var{user}}, where
@var{localstatedir} is the value passed to @code{configure} as
-@code{--localstatedir}, and @var{user} is the user name. It must be
-created by @code{root}, with @var{user} as the owner. When it does not
-exist, or is not owned by @var{user}, @command{guix package} emits an
-error about it.
+@code{--localstatedir}, and @var{user} is the user name. The
+@file{per-user} directory is created when @command{guix-daemon} is
+started, and the @var{user} sub-directory is created by @command{guix
+package}.
The @var{options} can be among the following: