hydra-queue-runner: Use cmdBuildDerivation

See 1511aa9f48 and eda2f36c2a.
This commit is contained in:
Eelco Dolstra
2015-07-21 01:45:00 +02:00
parent 62b1b095ad
commit 5370be9f52
5 changed files with 85 additions and 58 deletions

View File

@ -15,7 +15,7 @@ struct BuildProduct
BuildProduct() { }
};
struct BuildResult
struct BuildOutput
{
/* Whether this build has failed with output, i.e., the build
finished with exit code 0 but produced a file
@ -29,4 +29,4 @@ struct BuildResult
std::list<BuildProduct> products;
};
BuildResult getBuildResult(std::shared_ptr<nix::StoreAPI> store, const nix::Derivation & drv);
BuildOutput getBuildOutput(std::shared_ptr<nix::StoreAPI> store, const nix::Derivation & drv);