diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-01-12 15:13:47 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-01-12 15:13:47 +0100 |
commit | 0cad1f80492ecf9b4a3420c1436c79a0648de79b (patch) | |
tree | 779cf1c2c22973306408d9639f4c29541baafa2b | |
parent | 1c57ab8b310264557bdbd8aa135f037dd9bf954a (diff) |
--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.
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index f776798b0..0b6a214ef 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -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; } |