about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-16T01·47-0400
committerglittershark <grfn@gws.fyi>2020-07-16T01·54+0000
commit14e9e161c9303337d9e935cfd84f3cc644d99e5b (patch)
tree6263115bba7a52fd29b2a16bd46feb7e11cc7a8b /third_party
parent17c09628023f7c5612a7644b5942e0d2dcb014ce (diff)
feat(3p/nix/proto): Add QueryDerivationOutputNames r/1315
Change-Id: I5452d0f76441a61d70031f567c9cb75249569c2a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1201
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party')
-rw-r--r--third_party/nix/src/proto/worker.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/nix/src/proto/worker.proto b/third_party/nix/src/proto/worker.proto
index a0be48aacda3..acb19cc8dea7 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;
+}