Skip to content

Commit

Permalink
Use nix::serve_proto::buildDerivationRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 committed Dec 7, 2023
1 parent 25572d6 commit 621cc72
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/hydra-queue-runner/build-remote.cc
Original file line number Diff line number Diff line change
Expand Up @@ -289,17 +289,7 @@ static BuildResult performBuild(
counter & nrStepsBuilding
)
{
conn.to << ServeProto::Command::BuildDerivation << localStore.printStorePath(drvPath);
writeDerivation(conn.to, localStore, drv);
conn.to << options.maxSilentTime << options.buildTimeout;
if (GET_PROTOCOL_MINOR(conn.remoteVersion) >= 2)
conn.to << options.maxLogSize;
if (GET_PROTOCOL_MINOR(conn.remoteVersion) >= 3) {
conn.to
<< options.repeats // == build-repeat
<< options.enforceDeterminism;
}
conn.to.flush();
conn.buildDerivationRequest(localStore, drvPath, drv, options);

BuildResult result;

Expand Down

0 comments on commit 621cc72

Please sign in to comment.