Support hydra-build-products on binary cache stores

This commit is contained in:
Eelco Dolstra
2016-02-26 14:45:03 +01:00
parent 8e24ad6f0d
commit 02190b0fef
4 changed files with 34 additions and 51 deletions

View File

@ -159,7 +159,7 @@ bool State::getQueuedBuilds(Connection & conn, ref<Store> localStore,
all valid. So we mark this as a finished, cached build. */
if (!step) {
Derivation drv = readDerivation(build->drvPath);
BuildOutput res = getBuildOutput(destStore, drv);
BuildOutput res = getBuildOutput(destStore, destStore->getFSAccessor(), drv);
pqxx::work txn(conn);
time_t now = time(0);