mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Get rid of tmpDirInSandbox variable
This commit is contained in:
parent
c9b55fa3f0
commit
774678b87f
2 changed files with 24 additions and 19 deletions
|
@ -226,10 +226,13 @@ struct LinuxDerivationBuilder : DerivationBuilderImpl
|
|||
done directly in the sandbox profile. */
|
||||
tmpDir = topTmpDir + "/build";
|
||||
createDir(tmpDir, 0700);
|
||||
}
|
||||
|
||||
Path tmpDirInSandbox() override
|
||||
{
|
||||
/* In a sandbox, for determinism, always use the same temporary
|
||||
directory. */
|
||||
tmpDirInSandbox = settings.sandboxBuildDir;
|
||||
return settings.sandboxBuildDir;
|
||||
}
|
||||
|
||||
void prepareSandbox() override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue