HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fe5d95
)
daemon: Handle /tmp being a symlink.
author
Eelco Dolstra
<eelco.dolstra@logicblox.com>
Tue, 22 Dec 2015 16:16:17 +0000
(17:16 +0100)
committer
Ludovic Courtès
<ludo@gnu.org>
Tue, 31 May 2016 12:25:28 +0000
(14:25 +0200)
* nix/libstore/build.cc (DerivationGoal::startBuilder): Call 'canonPath'
on "/tmp".
nix/libstore/build.cc
patch
|
blob
|
blame
|
history
diff --git
a/nix/libstore/build.cc
b/nix/libstore/build.cc
index
f9fd61a
..
f0f60d7
100644
(file)
--- a/
nix/libstore/build.cc
+++ b/
nix/libstore/build.cc
@@
-1717,7
+1717,7
@@
void DerivationGoal::startBuilder()
/* In a sandbox, for determinism, always use the same temporary
directory. */
- tmpDirInSandbox = useChroot ?
"/tmp/guix-build-"
+ drvName + "-0" : tmpDir;
+ tmpDirInSandbox = useChroot ?
canonPath("/tmp/guix-build-", true)
+ drvName + "-0" : tmpDir;
/* For convenience, set an environment pointing to the top build
directory. */