aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-27 16:17:50 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-27 16:17:50 +0000
commit1d7d94ceea0dbed564a5c3812f00be7fdaf1aa52 (patch)
tree6d197c708e6006965f16cd219b2012d403eaf584 /src/libstore/daemon.cc
parent66a2067288a86dae19aecfa9e6a5b2d37952669f (diff)
parent43f2bd8dc5950c38a817242884870f344a84a291 (diff)
Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into better-ca-parse-errors
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 9e138e8d9..b760d74fa 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)