mirror of
https://github.com/NixOS/nix
synced 2025-07-02 17:41:48 +02:00
clean up
Signed-off-by: Samuli Thomasson <samuli.thomasson@pm.me>
This commit is contained in:
parent
b01dcf8985
commit
1b2c828d57
4 changed files with 60 additions and 48 deletions
|
@ -106,7 +106,7 @@ protected:
|
|||
* Stuff we need to pass to initChild().
|
||||
*/
|
||||
|
||||
typedef SandboxPaths PathsInChroot; // maps target path to source path
|
||||
typedef SandboxPaths PathsInChroot;
|
||||
|
||||
typedef StringMap Environment;
|
||||
Environment env;
|
||||
|
@ -920,7 +920,7 @@ DerivationBuilderImpl::PathsInChroot DerivationBuilderImpl::getPathsInSandbox()
|
|||
if (line == "") {
|
||||
state = stBegin;
|
||||
} else {
|
||||
for (const auto & [k, v] : SandboxPath().parse(line))
|
||||
for (const auto & [k, v] : SandboxPath::parse(line, "extra-sandbox-paths (via pre-build-hook)"))
|
||||
pathsInChroot.try_emplace(k, v);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue