diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-01-12 14:54:39 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-01-12 14:54:39 +0100 |
commit | 1c57ab8b310264557bdbd8aa135f037dd9bf954a (patch) | |
tree | 80ce57bcaa3ca8772f5051bb99f3ec612bdd91b6 /src/nix-daemon | |
parent | ef7c2d8b3e0590f0b74bea23ab802e706046939e (diff) |
--check: Fix assertion failure when some outputs are missing
E.g.
$ nix-build pkgs/stdenv/linux/ -A stage1.pkgs.perl --check
nix-store: src/libstore/build.cc:1323: void nix::DerivationGoal::tryToBuild(): Assertion `buildMode != bmCheck || validPaths.size() == drv->outputs.size()' failed.
when perl.out exists but perl.man doesn't. The fix is to only check
the outputs that exist. Note that "nix-build -A stage1.pkgs.all
--check" will still give a (proper) error in this case.
Diffstat (limited to 'src/nix-daemon')
0 files changed, 0 insertions, 0 deletions