daemon: check: Fix "failed to produce output path".
This occured when sandbox building is disabled, at least one output exists, and at least one other output does not.
This commit is contained in:
parent
f83e82cd00
commit
7889e72dad
|
@ -2345,7 +2345,7 @@ void DerivationGoal::registerOutputs()
|
|||
&& redirectedBadOutputs.find(path) != redirectedBadOutputs.end()
|
||||
&& pathExists(redirected))
|
||||
replaceValidPath(path, redirected);
|
||||
if (buildMode == bmCheck)
|
||||
if (buildMode == bmCheck && redirected != "")
|
||||
actualPath = redirected;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue