forked from lix-project/lix
build-remote: Check remote build status
This commit is contained in:
parent
0a97eb6bd7
commit
ebfceeb333
|
@ -208,7 +208,10 @@ connected:
|
||||||
drv.inputSrcs = inputs;
|
drv.inputSrcs = inputs;
|
||||||
|
|
||||||
printError("building ‘%s’ on ‘%s’", drvPath, storeUri);
|
printError("building ‘%s’ on ‘%s’", drvPath, storeUri);
|
||||||
sshStore->buildDerivation(drvPath, drv);
|
auto result = sshStore->buildDerivation(drvPath, drv);
|
||||||
|
|
||||||
|
if (!result.success())
|
||||||
|
throw Error("build of ‘%s’ on ‘%s’ failed: %s", drvPath, storeUri, result.errorMsg);
|
||||||
|
|
||||||
PathSet missing;
|
PathSet missing;
|
||||||
for (auto & path : outputs)
|
for (auto & path : outputs)
|
||||||
|
|
Loading…
Reference in a new issue