diff --git a/src/hydra-queue-runner/build-remote.cc b/src/hydra-queue-runner/build-remote.cc index 130f9780..d21ab9d7 100644 --- a/src/hydra-queue-runner/build-remote.cc +++ b/src/hydra-queue-runner/build-remote.cc @@ -202,7 +202,7 @@ void State::buildRemote(ref destStore, a no-op for regular stores, but for the binary cache store, this will copy the inputs to the binary cache from the local store. */ - copyClosure(ref(localStore), destStore, basicDrv.inputSrcs); + copyClosure(ref(localStore), destStore, step->drv.inputSrcs); /* Copy the input closure. */ if (/* machine->sshName != "localhost" */ true) {