From b6cb681c0b98fff8397b3ad4270b8d1ab2defa0b Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 15 Jul 2020 22:09:16 -0400 Subject: [PATCH] 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(+) diff --git a/third_party/nix/src/proto/worker.proto b/third_party/nix/src/proto/worker.proto index d018fe247..d3e8f65f2 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 {