diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-01-12 15:13:47 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-31 14:25:28 +0200 |
commit | 7889e72dad81cdf9ab6c94635976a612662baa09 (patch) | |
tree | b11964b313bcea24272b6532e80d0a5405711f73 /nix/libstore | |
parent | f83e82cd00653b443b180ad100886bd096209b83 (diff) | |
download | patches-7889e72dad81cdf9ab6c94635976a612662baa09.tar patches-7889e72dad81cdf9ab6c94635976a612662baa09.tar.gz |
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.
Diffstat (limited to 'nix/libstore')
-rw-r--r-- | nix/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |