diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-11-01 16:03:39 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-11-03 14:51:43 +0100 |
commit | a57ee7656b14d3d1d0f89c4e5662e55fea045733 (patch) | |
tree | d8fced37cd3eba5137dd783c30e173b2d6967e1e /doc | |
parent | b1c7f5fff983bfe151aa41066bf1888fa9cd157b (diff) |
doc: Remove misleading sentence about TMPDIR.
Reported by pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de>.
Fixes <https://bugs.gnu.org/33171>.
* doc/guix.texi (Invoking guix-daemon): Remove sentence that suggests
that TMPDIR leaks into the build environment.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index b6e571129b..fbe62db649 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -1230,12 +1230,9 @@ etc. This helps achieve reproducible builds (@pxref{Features}). When the daemon performs a build on behalf of the user, it creates a build directory under @file{/tmp} or under the directory specified by -its @code{TMPDIR} environment variable; this directory is shared with -the container for the duration of the build. Be aware that using a -directory other than @file{/tmp} can affect build results---for example, -with a longer directory name, a build process that uses Unix-domain -sockets might hit the name length limitation for @code{sun_path}, which -it would otherwise not hit. +its @code{TMPDIR} environment variable. This directory is shared with +the container for the duration of the build, though within the container, +the build tree is always called @file{/tmp/guix-build-@var{name}.drv-0}. The build directory is automatically deleted upon completion, unless the build failed and the client specified @option{--keep-failed} |