From 7889e72dad81cdf9ab6c94635976a612662baa09 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 12 Jan 2016 15:13:47 +0100 Subject: 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. --- nix/libstore/build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix/libstore') diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index 07babf9797..dd8660dffe 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -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; } -- cgit v1.2.3