mirror of
https://github.com/NixOS/nix.git
synced 2024-10-30 13:50:51 +00:00
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:
parent
27b5747ca7
commit
8c385d16ee
@ -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); */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user