Allow default sandbox paths to be overriden
E.g. you can now redirect /etc/resolv.conf to a different file.
This commit is contained in:
parent
488792a87d
commit
8decb07c31
1 changed files with 1 additions and 1 deletions
|
@ -2409,7 +2409,7 @@ void DerivationGoal::runChild()
|
|||
ss.push_back("/var/run/nscd/socket");
|
||||
}
|
||||
|
||||
for (auto & i : ss) dirsInChroot[i] = i;
|
||||
for (auto & i : ss) dirsInChroot.emplace(i, i);
|
||||
|
||||
/* Bind-mount all the directories from the "host"
|
||||
filesystem that we want in the chroot
|
||||
|
|
Loading…
Reference in a new issue