From 14e9e161c9303337d9e935cfd84f3cc644d99e5b Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 15 Jul 2020 21:47:25 -0400 Subject: [PATCH] feat(3p/nix/proto): Add QueryDerivationOutputNames Change-Id: I5452d0f76441a61d70031f567c9cb75249569c2a Reviewed-on: https://cl.tvl.fyi/c/depot/+/1201 Reviewed-by: tazjin Tested-by: BuildkiteCI --- third_party/nix/src/proto/worker.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/third_party/nix/src/proto/worker.proto b/third_party/nix/src/proto/worker.proto index a0be48aac..acb19cc8d 100644 --- a/third_party/nix/src/proto/worker.proto +++ b/third_party/nix/src/proto/worker.proto @@ -62,6 +62,9 @@ service Worker { // TODO: What does this do? rpc QueryPathInfo(StorePath) returns (QueryPathInfoResponse); + + // Query the output names of the given derivation + rpc QueryDerivationOutputNames(StorePath) returns (DerivationOutputNames); } enum HashType { @@ -212,3 +215,7 @@ message QueryPathInfoResponse { // If non-empty, an assertion that the path is content-addressed string ca = 8; }; + +message DerivationOutputNames { + repeated string names = 1; +}