doc: Mention sourcing system profile when chrooting.
* doc/guix.texi (Chrooting into an existing system): Add sourcing of system profile along user profile.
This commit is contained in:
parent
06201b76e5
commit
d573494387
1 changed files with 4 additions and 3 deletions
|
|
@ -2939,11 +2939,12 @@ chroot /mnt /bin/sh
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@item
|
@item
|
||||||
Source your @var{user} profile to setup the environment, where
|
Source the system profile as well as your @var{user} profile to setup
|
||||||
@var{user} is the user name used for the Guix System you are attempting
|
the environment, where @var{user} is the user name used for the Guix
|
||||||
to repair:
|
System you are attempting to repair:
|
||||||
|
|
||||||
@example sh
|
@example sh
|
||||||
|
source /var/guix/profiles/system/profile/etc/profile
|
||||||
source /home/@var{user}/.guix-profile/etc/profile
|
source /home/@var{user}/.guix-profile/etc/profile
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue