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

@ -4,6 +4,7 @@
#include "hash.hh"
#include "derivations.hh"
#include "store-api.hh"
struct BuildProduct
{
@ -37,4 +38,5 @@ struct BuildOutput
std::map<std::string, BuildMetric> metrics;
};
BuildOutput getBuildOutput(nix::ref<nix::Store> store, const nix::Derivation & drv);
BuildOutput getBuildOutput(nix::ref<nix::Store> store,
nix::ref<nix::FSAccessor> accessor, const nix::Derivation & drv);