feat(3p/nix): Add QueryValidDerivers

Change-Id: I52965bdbf143ae11201e1fafed1c25b3d8f1bee9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1204
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Griffin Smith 2020-07-15 22:09:16 -04:00 committed by glittershark
parent 143ef52592
commit b6cb681c0b

View file

@ -74,6 +74,10 @@ service Worker {
// Query which of the given paths have substitutes. // Query which of the given paths have substitutes.
rpc QuerySubstitutablePaths(StorePaths) returns (StorePaths); 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 { enum HashType {