1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-02 17:41:48 +02:00
Signed-off-by: Samuli Thomasson <samuli.thomasson@pm.me>
This commit is contained in:
Samuli Thomasson 2025-06-14 11:58:04 +02:00
parent b01dcf8985
commit 1b2c828d57
No known key found for this signature in database
GPG key ID: 6B8903D2645A5B48
4 changed files with 60 additions and 48 deletions

View file

@ -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);
}
}