diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-03-16 13:50:01 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-03-16 13:50:01 +0100 |
commit | c5b83d8913d73ea58ff9437c41bf6bd0c6839ad0 (patch) | |
tree | a7b934a170322b26d8039461102a66de922308e2 /src/nix-copy-closure | |
parent | 91d67692cfb05e4ece744fb9d144921ae920f2de (diff) |
copyPaths(): Use queryValidPaths() to reduce SSH latency
Diffstat (limited to 'src/nix-copy-closure')
-rwxr-xr-x | src/nix-copy-closure/nix-copy-closure.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-copy-closure/nix-copy-closure.cc b/src/nix-copy-closure/nix-copy-closure.cc index 05a4deea3..ab80d96b5 100755 --- a/src/nix-copy-closure/nix-copy-closure.cc +++ b/src/nix-copy-closure/nix-copy-closure.cc @@ -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); }); } |