mirror of
https://github.com/NixOS/nix
synced 2025-06-29 23:13:14 +02:00
nix-build: Copy drv closure between eval store and build store
This commit is contained in:
parent
2ff3035cf4
commit
e9848beca7
5 changed files with 40 additions and 32 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue