diff options
Diffstat (limited to 'src/nix-copy-closure')
-rwxr-xr-x | src/nix-copy-closure/nix-copy-closure.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nix-copy-closure/nix-copy-closure.cc b/src/nix-copy-closure/nix-copy-closure.cc index 02ccbe541..7c38e55e4 100755 --- a/src/nix-copy-closure/nix-copy-closure.cc +++ b/src/nix-copy-closure/nix-copy-closure.cc @@ -54,10 +54,7 @@ static int main_nix_copy_closure(int argc, char ** argv) for (auto & path : storePaths) storePaths2.insert(from->followLinksToStorePath(path)); - RealisedPath::Set closure; - RealisedPath::closure(*from, storePaths2, closure); - - copyPaths(from, to, closure, NoRepair, NoCheckSigs, useSubstitutes); + copyClosure(from, to, storePaths2, NoRepair, NoCheckSigs, useSubstitutes); return 0; } |