forked from lix-project/hydra
Merge pull request #914 from Ma27/fix-remote-builds
Fix `std::bad_alloc` errors for remote builds
This commit is contained in:
commit
0bee194ce9
|
@ -338,6 +338,9 @@ void State::buildRemote(ref<Store> destStore,
|
||||||
result.stopTime = stop;
|
result.stopTime = stop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (GET_PROTOCOL_MINOR(remoteVersion) >= 6) {
|
||||||
|
worker_proto::read(*localStore, from, Phantom<DrvOutputs> {});
|
||||||
|
}
|
||||||
switch ((BuildResult::Status) res) {
|
switch ((BuildResult::Status) res) {
|
||||||
case BuildResult::Built:
|
case BuildResult::Built:
|
||||||
result.stepStatus = bsSuccess;
|
result.stepStatus = bsSuccess;
|
||||||
|
|
Loading…
Reference in a new issue