Fix bug, newInfo
-> newInfo0
It appears we were checking a variable in the process of definining it.
This commit is contained in:
parent
35dcbe1c21
commit
6513f4fe92
|
@ -2529,7 +2529,7 @@ SingleDrvOutputs LocalDerivationGoal::registerOutputs()
|
||||||
wanted.to_string(SRI, true),
|
wanted.to_string(SRI, true),
|
||||||
got.to_string(SRI, true)));
|
got.to_string(SRI, true)));
|
||||||
}
|
}
|
||||||
if (!newInfo.references.empty())
|
if (!newInfo0.references.empty())
|
||||||
delayedException = std::make_exception_ptr(
|
delayedException = std::make_exception_ptr(
|
||||||
BuildError("illegal path references in fixed-output derivation '%s'",
|
BuildError("illegal path references in fixed-output derivation '%s'",
|
||||||
worker.store.printStorePath(drvPath)));
|
worker.store.printStorePath(drvPath)));
|
||||||
|
|
Loading…
Reference in a new issue