diff options
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 8695850b3..7f7d2fdb8 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1732,9 +1732,6 @@ void DerivationGoal::startBuilder() directory. */ #if __linux__ tmpDirInSandbox = useChroot ? settings.sandboxBuildDir : tmpDir; -#elif __APPLE__ - // On Darwin, we canonize /tmp because its probably a symlink to /private/tmp. - tmpDirInSandbox = useChroot ? canonPath("/tmp", true) + "/nix-build-" + drvName + "-0" : tmpDir; #else tmpDirInSandbox = tmpDir; #endif |