diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-01-12 14:54:39 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-31 14:25:28 +0200 |
commit | f83e82cd00653b443b180ad100886bd096209b83 (patch) | |
tree | b7031e8ec987478d93622dfbe67b1c892dac786b /m4 | |
parent | c56cd90cc93898ce4633cebc6ec5e490eb10fce4 (diff) | |
download | patches-f83e82cd00653b443b180ad100886bd096209b83.tar patches-f83e82cd00653b443b180ad100886bd096209b83.tar.gz |
daemon: 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 'm4')
0 files changed, 0 insertions, 0 deletions