* Implement RemoteStore::queryDerivationOutputs().

This commit is contained in:
Eelco Dolstra 2010-02-25 15:52:22 +00:00
parent af565c348a
commit e42401ee7b
3 changed files with 10 additions and 3 deletions

View file

@ -296,7 +296,11 @@ Path RemoteStore::queryDeriver(const Path & path)
PathSet RemoteStore::queryDerivationOutputs(const Path & path)
{
throw Error("not yet implemented");
openConnection();
writeInt(wopQueryDerivationOutputs, to);
writeString(path, to);
processStderr();
return readStorePaths(from);
}

View file

@ -34,6 +34,7 @@ typedef enum {
wopSetOptions = 19,
wopCollectGarbage = 20,
wopQuerySubstitutablePathInfo = 21,
wopQueryDerivationOutputs = 22,
} WorkerOp;