mirror of
https://github.com/NixOS/nix
synced 2025-06-26 03:21:16 +02:00
Merge remote-tracking branch 'origin/master' into flakes
This commit is contained in:
commit
832e111494
41 changed files with 574 additions and 382 deletions
|
@ -381,7 +381,7 @@ EvalState::EvalState(const Strings & _searchPath, ref<Store> store)
|
|||
|
||||
if (store->isInStore(r.second)) {
|
||||
StorePathSet closure;
|
||||
store->computeFSClosure(store->parseStorePath(store->toStorePath(r.second)), closure);
|
||||
store->computeFSClosure(store->toStorePath(r.second).first, closure);
|
||||
for (auto & path : closure)
|
||||
allowedPaths->insert(store->printStorePath(path));
|
||||
} else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue