diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-04-17 18:10:12 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-04-17 18:10:12 -0400 |
commit | f56c4a5bdfb0ec881b8cb0c06940abbea71b5f2b (patch) | |
tree | 9d27a405b811b32fb7e4117fcbc2639846d807d6 /src/libstore/daemon.cc | |
parent | 2eb493ca51e97228a7dc8e28e414df627cb3a329 (diff) | |
parent | 64ee02890c965bc5d8747f78e6298205c9307335 (diff) |
Merge remote-tracking branch 'upstream/master' into ca-drv-exotic
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r-- | src/libstore/daemon.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc index 139a05587..d3b9988c9 100644 --- a/src/libstore/daemon.cc +++ b/src/libstore/daemon.cc @@ -641,7 +641,10 @@ static void performOp(TunnelLogger * logger, ref<Store> store, to << res.timesBuilt << res.isNonDeterministic << res.startTime << res.stopTime; } if (GET_PROTOCOL_MINOR(clientVersion) >= 28) { - worker_proto::write(*store, to, res.builtOutputs); + DrvOutputs builtOutputs; + for (auto & [output, realisation] : res.builtOutputs) + builtOutputs.insert_or_assign(realisation.id, realisation); + worker_proto::write(*store, to, builtOutputs); } break; } @@ -1068,6 +1071,8 @@ void processConnection( opCount++; + debug("performing daemon worker op: %d", op); + try { performOp(tunnelLogger, store, trusted, recursive, clientVersion, from, to, op); } catch (Error & e) { |