From b6cb681c0b98fff8397b3ad4270b8d1ab2defa0b Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 15 Jul 2020 22:09:16 -0400 Subject: feat(3p/nix): Add QueryValidDerivers Change-Id: I52965bdbf143ae11201e1fafed1c25b3d8f1bee9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1204 Tested-by: BuildkiteCI Reviewed-by: tazjin --- third_party/nix/src/proto/worker.proto | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'third_party/nix/src/proto') 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 { -- cgit 1.4.1