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 /nix/libstore/build.cc | |
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 'nix/libstore/build.cc')
-rw-r--r-- | nix/libstore/build.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index ff7b2c4771..f9fd61adde 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -1713,11 +1713,11 @@ void DerivationGoal::startBuilder() /* Create a temporary directory where the build will take place. */ auto drvName = storePathToName(drvPath); - tmpDir = createTempDir("", "nix-build-" + drvName, false, false, 0700); + tmpDir = createTempDir("", "guix-build-" + drvName, false, false, 0700); /* In a sandbox, for determinism, always use the same temporary directory. */ - tmpDirInSandbox = useChroot ? "/tmp/nix-build-" + drvName + "-0" : tmpDir; + tmpDirInSandbox = useChroot ? "/tmp/guix-build-" + drvName + "-0" : tmpDir; /* For convenience, set an environment pointing to the top build directory. */ |