diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-12-30 18:01:01 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-12-30 18:01:01 +0100 |
commit | 7a57c96a1024e6b74359ba561110f19f92b89b06 (patch) | |
tree | bf6916345f08646b5d4ef64af2893ed0b2e25bb6 /doc | |
parent | f95dad899b9c2aeec22a7000ec693fe6dff3b3c5 (diff) | |
download | guix-7a57c96a1024e6b74359ba561110f19f92b89b06.tar guix-7a57c96a1024e6b74359ba561110f19f92b89b06.tar.gz |
daemon: Build in /tmp/guix-build-*.
* nix/libstore/build.cc (DerivationGoal::startBuilder): Use "guix-build"
instead of "nix-build" for TMPDIR.
* doc/guix.texi (Build Environment Setup): Adjust accordingly.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 7665ec9610..5cdbc5deb6 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -604,7 +604,7 @@ a writable @file{/tmp} directory. You can influence the directory where the daemon stores build trees @i{via} the @code{TMPDIR} environment variable. However, the build tree -within the chroot is always @file{/tmp/nix-build-@var{name}.drv-0}, +within the chroot is always @file{/tmp/guix-build-@var{name}.drv-0}, where @var{name} is the derivation name---e.g., @code{coreutils-8.24}. This way, the value of @code{TMPDIR} does not leak inside build environments, which avoids discrepancies in cases where build processes |