mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
OS X sandbox: Don't use a deterministic $TMPDIR
This doesn't work because the OS X sandbox cannot bind-mount path to a different location.
This commit is contained in:
parent
c740c3ce50
commit
44f3f8048f
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue