aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.cc
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-07-02 11:14:04 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2020-07-02 11:14:04 -0400
commitfc2ab42e86e0b75250a666eeb5e25705a2ab83ef (patch)
treefc884cb1f6521f9f5a20843d6ce4dac1416fb2dd /src/libstore/daemon.cc
parentd2e8b9ff0e8048d7b3914811b2d4bd535feac49d (diff)
parenta5b6e870fe9fb5ebf462c19963588d62f56d0f21 (diff)
Merge remote-tracking branch 'origin/master' into substitute-other-storedir
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r--src/libstore/daemon.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc
index c2c8612d1..843ec8ca8 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -347,6 +347,15 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
break;
}
+ case wopQueryDerivationOutputMap: {
+ auto path = store->parseStorePath(readString(from));
+ logger->startWork();
+ OutputPathMap outputs = store->queryDerivationOutputMap(path);
+ logger->stopWork();
+ writeOutputPathMap(*store, to, outputs);
+ break;
+ }
+
case wopQueryDeriver: {
auto path = store->parseStorePath(readString(from));
logger->startWork();