aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-05 17:53:24 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-05 17:53:24 +0000
commit7302761f6451dafd8834f0db9fdd7dcc27f49eff (patch)
tree2b6d845daa2b090df5310b206b1b357f6aa3f384 /src/libstore/daemon.cc
parent6d003d87b633dda305f354347dcff8696e62d33a (diff)
parentcf939055c867492306178f951b2f244d1f3f5062 (diff)
Merge remote-tracking branch 'obsidian/drv-outputs-map-allow-missing' into templated-daemon-protocol
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 f92d384e5..b90372a71 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -698,7 +698,7 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
auto deriver = readString(from);
if (deriver != "")
info.deriver = store->parseStorePath(deriver);
- info.narHash = Hash(readString(from), htSHA256);
+ info.narHash = Hash::parseAny(readString(from), htSHA256);
info.references = read(*store, from, Proxy<StorePathSet> {});
from >> info.registrationTime >> info.narSize >> info.ultimate;
info.sigs = readStrings<StringSet>(from);