mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
--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
1 changed files with 1 additions and 1 deletions
|
@ -2662,7 +2662,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 a new issue