daemon: Fix typo.
Fixes a regression/typo introduced in
e08380fb6c
.
* nix/libstore/build.cc (DerivationGoal::startBuilder): Canonicalize
"/tmp", not "/tmp/guix-build".
This commit is contained in:
parent
0a40626fd2
commit
4078fa8f72
|
@ -1718,7 +1718,7 @@ void DerivationGoal::startBuilder()
|
|||
|
||||
/* In a sandbox, for determinism, always use the same temporary
|
||||
directory. */
|
||||
tmpDirInSandbox = useChroot ? canonPath("/tmp/guix-build-", true) + drvName + "-0" : tmpDir;
|
||||
tmpDirInSandbox = useChroot ? canonPath("/tmp", true) + "/guix-build-" + drvName + "-0" : tmpDir;
|
||||
|
||||
/* For convenience, set an environment pointing to the top build
|
||||
directory. */
|
||||
|
|
Loading…
Reference in New Issue