mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
Resolve merge conflict
This commit is contained in:
parent
f986f7e89b
commit
a924db7d0b
1 changed files with 1 additions and 8 deletions
|
@ -3123,14 +3123,7 @@ std::optional<std::string> EvalState::resolveLookupPathPath(const LookupPath::Pa
|
||||||
allowPath(path);
|
allowPath(path);
|
||||||
if (store->isInStore(path)) {
|
if (store->isInStore(path)) {
|
||||||
try {
|
try {
|
||||||
<<<<<<< HEAD
|
allowClosure(store->toStorePath(path).first);
|
||||||
StorePathSet closure;
|
|
||||||
store->computeFSClosure(store->toStorePath(path).first, closure);
|
|
||||||
for (auto & p : closure)
|
|
||||||
allowPath(p);
|
|
||||||
=======
|
|
||||||
allowClosure(store->toStorePath(path.path.abs()).first);
|
|
||||||
>>>>>>> 08361f031 (EvalState::realiseContext(): Allow access to the entire closure)
|
|
||||||
} catch (InvalidPath &) { }
|
} catch (InvalidPath &) { }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue