forked from lix-project/lix
--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
1c57ab8b31
commit
0cad1f8049
|
@ -2662,7 +2662,7 @@ void DerivationGoal::registerOutputs()
|
||||||
&& redirectedBadOutputs.find(path) != redirectedBadOutputs.end()
|
&& redirectedBadOutputs.find(path) != redirectedBadOutputs.end()
|
||||||
&& pathExists(redirected))
|
&& pathExists(redirected))
|
||||||
replaceValidPath(path, redirected);
|
replaceValidPath(path, redirected);
|
||||||
if (buildMode == bmCheck)
|
if (buildMode == bmCheck && redirected != "")
|
||||||
actualPath = redirected;
|
actualPath = redirected;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue