Fix bug, newInfo -> newInfo0

It appears we were checking a variable in the process of definining it.
This commit is contained in:
John Ericson 2023-05-09 12:31:36 -04:00
parent 35dcbe1c21
commit 6513f4fe92

View file

@ -2529,7 +2529,7 @@ SingleDrvOutputs LocalDerivationGoal::registerOutputs()
wanted.to_string(SRI, true),
got.to_string(SRI, true)));
}
if (!newInfo.references.empty())
if (!newInfo0.references.empty())
delayedException = std::make_exception_ptr(
BuildError("illegal path references in fixed-output derivation '%s'",
worker.store.printStorePath(drvPath)));