mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 21:16:02 +01:00
Get rid of tmpDirInSandbox variable
This commit is contained in:
parent
f5176500be
commit
492b684b9e
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