mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
copyPaths(): Use queryValidPaths() to reduce SSH latency
This commit is contained in:
parent
91d67692cf
commit
c5b83d8913
10 changed files with 45 additions and 37 deletions
|
@ -58,6 +58,6 @@ int main(int argc, char ** argv)
|
|||
PathSet closure;
|
||||
from->computeFSClosure(storePaths2, closure, false, includeOutputs);
|
||||
|
||||
copyPaths(from, to, Paths(closure.begin(), closure.end()), useSubstitutes);
|
||||
copyPaths(from, to, closure, useSubstitutes);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue