mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
build-remote: Check remote build status
This commit is contained in:
parent
0a97eb6bd7
commit
ebfceeb333
1 changed files with 4 additions and 1 deletions
|
@ -208,7 +208,10 @@ connected:
|
|||
drv.inputSrcs = inputs;
|
||||
|
||||
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;
|
||||
for (auto & path : outputs)
|
||||
|
|
Loading…
Reference in a new issue