diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-08-20 16:49:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-20 16:49:23 +0200 |
commit | 4d77513d97775c05b19b0676a76fcdd3d00bea8b (patch) | |
tree | 141cfc45eaee1728d664728e41c9b7e9b4464841 /src/libstore/daemon.cc | |
parent | 0d7376bd8a790da9e7c888d4330cfb17928c68d8 (diff) | |
parent | 9a9d834dc7bde0a4eafa2f7412e7a2f0df8c3262 (diff) |
Merge pull request #3859 from obsidiansystems/drv-outputs-map-allow-missing
`queryDerivationOutputMap` no longer assumes all outputs have a mapping
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r-- | src/libstore/daemon.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc index ad3fe1847..f35ddb522 100644 --- a/src/libstore/daemon.cc +++ b/src/libstore/daemon.cc @@ -325,9 +325,9 @@ static void performOp(TunnelLogger * logger, ref<Store> store, case wopQueryDerivationOutputMap: { auto path = store->parseStorePath(readString(from)); logger->startWork(); - OutputPathMap outputs = store->queryDerivationOutputMap(path); + auto outputs = store->queryPartialDerivationOutputMap(path); logger->stopWork(); - writeOutputPathMap(*store, to, outputs); + worker_proto::write(*store, to, outputs); break; } |