Also send ca outputs to the build hook

Otherwise they don't get registered, triggering an assertion failure
at some point later
This commit is contained in:
regnat 2021-01-26 09:35:10 +01:00
parent 27b5747ca7
commit 8c385d16ee

View file

@ -1161,8 +1161,8 @@ HookReply DerivationGoal::tryBuildHook()
{
StringSet missingOutputs;
for (auto & [outputName, status] : initialOutputs) {
if (!status.known) continue;
if (buildMode != bmCheck && status.known->isValid()) continue;
// XXX: Does this include known CA outputs?
if (buildMode != bmCheck && status.known && status.known->isValid()) continue;
missingOutputs.insert(outputName);
/* missingPaths.insert(status.known->path); */
}