civodul pushed a commit to branch master
in repository guix.

commit a57ee7656b14d3d1d0f89c4e5662e55fea045733
Author: Ludovic Courtès <[email protected]>
Date:   Thu Nov 1 16:03:39 2018 +0100

    doc: Remove misleading sentence about TMPDIR.
    
    Reported by pelzflorian (Florian Pelz) <[email protected]>.
    Fixes <https://bugs.gnu.org/33171>.
    
    * doc/guix.texi (Invoking guix-daemon): Remove sentence that suggests
    that TMPDIR leaks into the build environment.
---
 doc/guix.texi | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index b6e5711..fbe62db 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}

Reply via email to