libstore: move currentHookLine into handleHookOutput

Change-Id: I00cdc7fae1b953f2d541bc966d15afa00c04b06a
This commit is contained in:
eldritch horrors
2025-10-13 11:26:49 +00:00
parent 26e8e3caac
commit 2e3d97eb37
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -1309,6 +1309,8 @@ try {
kj::Promise<Result<std::optional<Goal::WorkResult>>>
DerivationGoal::handleHookOutput(AsyncInputStream & in) noexcept
try {
std::string currentHookLine;
auto buf = kj::heapArray<char>(4096);
while (true) {
const auto got = TRY_AWAIT(in.read(buf.begin(), buf.size()));
-2
View File
@@ -201,8 +201,6 @@ struct DerivationGoal : public Goal
*/
std::list<std::string> logTail;
std::string currentHookLine;
/**
* The build hook.
*/