guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/09: daemon: check: Fix "failed to produce output path".


From: Ludovic Courtès
Subject: 06/09: daemon: check: Fix "failed to produce output path".
Date: Tue, 31 May 2016 12:34:02 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 7889e72dad81cdf9ab6c94635976a612662baa09
Author: Eelco Dolstra <address@hidden>
Date:   Tue Jan 12 15:13:47 2016 +0100

    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(-)

diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
index 07babf9..dd8660d 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;
         }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]