about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-16T02·09-0400
committerglittershark <grfn@gws.fyi>2020-07-16T21·40+0000
commitb6cb681c0b98fff8397b3ad4270b8d1ab2defa0b (patch)
treeab9106771d92c47e661ab27792231a7a9ed06878 /third_party
parent143ef525921ee42180cd8ec186a3c6f6ca8bacfb (diff)
feat(3p/nix): Add QueryValidDerivers r/1328
Change-Id: I52965bdbf143ae11201e1fafed1c25b3d8f1bee9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1204
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/nix/src/proto/worker.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/nix/src/proto/worker.proto b/third_party/nix/src/proto/worker.proto
index d018fe2479..d3e8f65f20 100644
--- a/third_party/nix/src/proto/worker.proto
+++ b/third_party/nix/src/proto/worker.proto
@@ -74,6 +74,10 @@ service Worker {
 
   // Query which of the given paths have substitutes.
   rpc QuerySubstitutablePaths(StorePaths) returns (StorePaths);
+
+  // Return all currently valid derivations that have the given store path as an
+  // output.
+  rpc QueryValidDerivers(StorePath) returns (StorePaths);
 }
 
 enum HashType {