mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Store::computeFSClosure(): Support a set of paths
This way, callers can exploits the parallelism of computeFSClosure() when they have multiple paths that they need the (combined) closure of.
This commit is contained in:
parent
2af5d35fdc
commit
dd77f7d593
5 changed files with 25 additions and 16 deletions
|
@ -1249,8 +1249,7 @@ void DerivationGoal::inputsRealised()
|
|||
}
|
||||
|
||||
/* Second, the input sources. */
|
||||
for (auto & i : drv->inputSrcs)
|
||||
worker.store.computeFSClosure(i, inputPaths);
|
||||
worker.store.computeFSClosure(drv->inputSrcs, inputPaths);
|
||||
|
||||
debug(format("added input paths %1%") % showPaths(inputPaths));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue