mirror of
https://github.com/NixOS/nix
synced 2025-06-28 09:31:16 +02:00
Pass tmpDirInSandbox to the builtin builders
This commit is contained in:
parent
fe0124fe17
commit
c7a84b9160
2 changed files with 5 additions and 1 deletions
|
@ -1860,7 +1860,10 @@ void DerivationBuilderImpl::runChild()
|
|||
/* Make the contents of netrc and the CA certificate bundle
|
||||
available to builtin:fetchurl (which may run under a
|
||||
different uid and/or in a sandbox). */
|
||||
BuiltinBuilderContext ctx{.drv = drv};
|
||||
BuiltinBuilderContext ctx{
|
||||
.drv = drv,
|
||||
.tmpDirInSandbox = tmpDirInSandbox,
|
||||
};
|
||||
|
||||
if (drv.isBuiltin() && drv.builder == "builtin:fetchurl") {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue