diff --git a/flake.lock b/flake.lock index ec9a00e6..c47a3b88 100644 --- a/flake.lock +++ b/flake.lock @@ -12,11 +12,11 @@ "nixpkgs-regression": [] }, "locked": { - "lastModified": 1739393420, - "narHash": "sha256-jGFuyYKJjJZsBRoi7ZcaVKt1OYxusz/ld1HA7VD2w/0=", + "lastModified": 1739899400, + "narHash": "sha256-q/RgA4bB7zWai4oPySq9mch7qH14IEeom2P64SXdqHs=", "owner": "NixOS", "repo": "nix", - "rev": "970942f45836172fda410a638853382952189eb9", + "rev": "e310c19a1aeb1ce1ed4d41d5ab2d02db596e0918", "type": "github" }, "original": { diff --git a/src/hydra-queue-runner/build-remote.cc b/src/hydra-queue-runner/build-remote.cc index 27de0496..d3241ccf 100644 --- a/src/hydra-queue-runner/build-remote.cc +++ b/src/hydra-queue-runner/build-remote.cc @@ -2,7 +2,6 @@ #include "build-result.hh" #include "serve-protocol.hh" -#include "serve-protocol-impl.hh" #include "state.hh" #include "current-process.hh" #include "processes.hh" @@ -134,7 +133,7 @@ void State::buildRemote(ref destStore, { auto activeStepState(activeStep->state_.lock()); if (activeStepState->cancelled) throw Error("step cancelled"); - activeStepState->pid = child->sshPid; + activeStepState->pid = conn.store->getConnectionPid(); } Finally clearPid([&]() {