mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
doc: Document the dummy $HOME in the build chroot.
This missing documentation reported by Matt <matt@excalamus.com>. * doc/guix.texi (Build Environment Setup): Document '/homeless-shelter'.
This commit is contained in:
parent
8cdecad237
commit
72f3334308
1 changed files with 5 additions and 0 deletions
|
@ -1178,6 +1178,11 @@ user @file{nobody};
|
|||
a writable @file{/tmp} directory.
|
||||
@end itemize
|
||||
|
||||
The chroot does contain a @file{/home} directory, and the @env{HOME}
|
||||
environment variable is set to the non-existent
|
||||
@file{/homeless-shelter}. This helps to highlight inappropriate uses of
|
||||
@env{HOME} in the build scripts of packages.
|
||||
|
||||
You can influence the directory where the daemon stores build trees
|
||||
@i{via} the @env{TMPDIR} environment variable. However, the build tree
|
||||
within the chroot is always called @file{/tmp/guix-build-@var{name}.drv-0},
|
||||
|
|
Loading…
Reference in a new issue