aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-27 16:13:57 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-27 16:13:57 +0000
commit43f2bd8dc5950c38a817242884870f344a84a291 (patch)
treec9b28ba4c468446911f8bc5411933a334b1fe184 /src/libstore/daemon.cc
parent699fc89b394ef5347ff0508abe389e77a7cde09e (diff)
parenta5f7d310dd10fe86b6f6aa1c2771c30f113741d4 (diff)
Merge remote-tracking branch 'upstream/master' into hash-always-has-type
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r--src/libstore/daemon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc
index 8cd4a44f1..503e04f92 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -451,7 +451,7 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
case wopBuildDerivation: {
auto drvPath = store->parseStorePath(readString(from));
BasicDerivation drv;
- readDerivation(from, *store, drv);
+ readDerivation(from, *store, drv, Derivation::nameFromPath(drvPath));
BuildMode buildMode = (BuildMode) readInt(from);
logger->startWork();
if (!trusted)