diff options
author | Vincent Ambo <mail@tazj.in> | 2020-08-20T02·28+0100 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2020-08-20T11·48+0000 |
commit | 33e8b0f975cd8934405c568cfa1d7e2a1edfa425 (patch) | |
tree | 2d67c57661cd424bfe6c87d33c4d38212f9a4e3c /third_party/nix/src/libstore/rpc-store.hh | |
parent | f7fa77f14dedad98ab9e8a014d3bcfd60565dfd0 (diff) |
chore(tvix): Thread a std::ostream through Store::buildPaths r/1689
This part of the store API needs to carry a handle to the log sink from now on, so that it can be passed in as appropriate from the gRPC handlers. In all places where there is no such handler available at the moment, the discarding log sink has been inserted. This can be used as a convenient grep target in the future. Change-Id: I26628e30b4c6437dccdf8f722ca2e8ed827dfc19 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1797 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'third_party/nix/src/libstore/rpc-store.hh')
-rw-r--r-- | third_party/nix/src/libstore/rpc-store.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/libstore/rpc-store.hh b/third_party/nix/src/libstore/rpc-store.hh index b1c294532393..3a156e9e1afe 100644 --- a/third_party/nix/src/libstore/rpc-store.hh +++ b/third_party/nix/src/libstore/rpc-store.hh @@ -67,8 +67,8 @@ class RpcStore : public LocalFSStore, public virtual Store { const PathSet& references, RepairFlag repair = NoRepair) override; - virtual absl::Status buildPaths(const PathSet& paths, - BuildMode buildMode) override; + absl::Status buildPaths(std::ostream& log_sink, const PathSet& paths, + BuildMode build_mode) override; virtual BuildResult buildDerivation(const Path& drvPath, const BasicDerivation& drv, |