mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
add real path to allowedPaths
This commit is contained in:
parent
9cd8cffefc
commit
4318ba2ec5
2 changed files with 3 additions and 3 deletions
|
@ -70,7 +70,7 @@ void EvalState::realiseContext(const PathSet & context)
|
|||
if (outputPaths.count(outputName) == 0)
|
||||
throw Error("derivation '%s' does not have an output named '%s'",
|
||||
store->printStorePath(drvPath), outputName);
|
||||
allowedPaths->insert(store->printStorePath(outputPaths.at(outputName)));
|
||||
allowPath(outputPaths.at(outputName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue