~ruther/guix-local

7889e72dad81cdf9ab6c94635976a612662baa09 — Eelco Dolstra 10 years ago f83e82c
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.
1 files changed, 1 insertions(+), 1 deletions(-)

M nix/libstore/build.cc
M nix/libstore/build.cc => nix/libstore/build.cc +1 -1
@@ 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;
        }