aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-11-01 16:03:39 +0100
committerLudovic Courtès <ludo@gnu.org>2018-11-03 14:51:43 +0100
commita57ee7656b14d3d1d0f89c4e5662e55fea045733 (patch)
treed8fced37cd3eba5137dd783c30e173b2d6967e1e
parentb1c7f5fff983bfe151aa41066bf1888fa9cd157b (diff)
downloadguix-a57ee7656b14d3d1d0f89c4e5662e55fea045733.tar
guix-a57ee7656b14d3d1d0f89c4e5662e55fea045733.tar.gz
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.
-rw-r--r--doc/guix.texi9
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}