mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Hacky fast closure copying mechanism
This commit is contained in:
parent
bef40c2949
commit
3d9de41a5b
6 changed files with 55 additions and 1 deletions
|
@ -505,6 +505,17 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
|
|||
break;
|
||||
}
|
||||
|
||||
case wopImportPaths2: {
|
||||
logger->startWork();
|
||||
auto paths = store->importPaths(from,
|
||||
trusted ? NoCheckSigs : CheckSigs);
|
||||
logger->stopWork();
|
||||
Strings paths2;
|
||||
for (auto & i : paths) paths2.push_back(store->printStorePath(i));
|
||||
to << paths2;
|
||||
break;
|
||||
}
|
||||
|
||||
case wopBuildPaths: {
|
||||
auto drvs = readDerivedPaths(*store, clientVersion, from);
|
||||
BuildMode mode = bmNormal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue