about summary refs log tree commit diff
path: root/third_party/nix/src/proto/worker.proto
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/proto/worker.proto')
-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;
+}