daemon: Fix --repair failure on multiple-output derivations.
authorEelco Dolstra <eelco.dolstra@logicblox.com>
Wed, 6 Jan 2016 20:49:32 +0000 (21:49 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 31 May 2016 12:25:28 +0000 (14:25 +0200)
commit1a9574e3a73e6ec1641c7238d87e45d00b862283
treea7141b983d296edd1376c5ab88ef400821e56344
parent63a5be07e252904eeb83a88dce37008e1affec1a
daemon: Fix --repair failure on multiple-output derivations.

If repair found a corrupted/missing path that depended on a
multiple-output derivation, and some of the outputs of the latter were
not present, it failed with a message like

  error: path ‘/nix/store/cnfn9d5fjys1y93cz9shld2xwaibd7nn-bash-4.3-p42-doc’ is not valid

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
nix/libstore/build.cc