1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

Remove WorkerProto::Op::ImportPaths

This was obsoleted in May 2016 (538a64e8c3).
This commit is contained in:
Eelco Dolstra 2025-09-09 13:44:07 +02:00
parent 4fb61bc5af
commit 86d19956f2
4 changed files with 0 additions and 23 deletions

View file

@ -546,18 +546,6 @@ static void performOp(
break;
}
case WorkerProto::Op::ImportPaths: {
logger->startWork();
TunnelSource source(conn.from, conn.to);
auto paths = store->importPaths(source, trusted ? NoCheckSigs : CheckSigs);
logger->stopWork();
Strings paths2;
for (auto & i : paths)
paths2.push_back(store->printStorePath(i));
conn.to << paths2;
break;
}
case WorkerProto::Op::BuildPaths: {
auto drvs = WorkerProto::Serialise<DerivedPaths>::read(*store, rconn);
BuildMode mode = bmNormal;