1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-17 07:52:43 +01:00

* 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);
}