[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: daemon: Handle /tmp being a symlink.
From: |
Ludovic Courtès |
Subject: |
01/09: daemon: Handle /tmp being a symlink. |
Date: |
Tue, 31 May 2016 12:34:01 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit e08380fb6cefd3fd67c3c220a3ddaf385e6413cf
Author: Eelco Dolstra <address@hidden>
Date: Tue Dec 22 17:16:17 2015 +0100
daemon: Handle /tmp being a symlink.
* nix/libstore/build.cc (DerivationGoal::startBuilder): Call 'canonPath'
on "/tmp".
---
nix/libstore/build.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
index f9fd61a..f0f60d7 100644
--- 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. */
- branch master updated (8fe5d95 -> b452811), Ludovic Courtès, 2016/05/31
- 02/09: daemon: ~PathLocks(): Handle exceptions., Ludovic Courtès, 2016/05/31
- 07/09: daemon: check: Keep the differing output if -K is given., Ludovic Courtès, 2016/05/31
- 08/09: daemon: Canonicalize gids to 0., Ludovic Courtès, 2016/05/31
- 09/09: daemon: rounds: Keep the differing output if -K is given., Ludovic Courtès, 2016/05/31
- 05/09: daemon: check: Fix assertion failure when some outputs are missing., Ludovic Courtès, 2016/05/31
- 01/09: daemon: Handle /tmp being a symlink.,
Ludovic Courtès <=
- 03/09: daemon: Fix --repair failure on multiple-output derivations., Ludovic Courtès, 2016/05/31
- 06/09: daemon: check: Fix "failed to produce output path"., Ludovic Courtès, 2016/05/31
- 04/09: daemon: When repairing, rebuild if there is no substituter., Ludovic Courtès, 2016/05/31