From 0cad1f80492ecf9b4a3420c1436c79a0648de79b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 12 Jan 2016 15:13:47 +0100 Subject: --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. --- src/libstore/build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore') diff --git a/src/libstore/build.cc b/src/libstore/build.cc index f776798b0c22..0b6a214efd32 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; } -- cgit 1.4.1