about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 a0be48aacd..acb19cc8de 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;
+}