forked from lix-project/lix
Maximilian Bosch
e146393183
Basically I'd expect the same behavior as with `nix-build`, i.e.
with `--keep-going` the hash-mismatch error of each failing
fixed-output derivation is shown.
The approach is derived from `Store::buildPaths` (`entry-point.cc`):
instead of throwing the first build-result, check if there are any build
errors and if so, display all of them and throw after that.
Unfortunately, the BuildResult struct doesn't have an `ErrorInfo`
(there's a FIXME for that at least), so I have to construct my own here.
This is a rather cheap bugfix and I decided against touching too many
parts of libstore for that (also I don't know if that's in line with the
ongoing refactoring work).
Closes lix-project/lix#302
Change-Id:
|
||
---|---|---|
.. | ||
better-errors-in-nix-repl.md | ||
consistent-nix-build.md | ||
debugger-locals-for-let-expressions.md | ||
debugger-on-trace.md | ||
drop-vendored-toml11.md | ||
drv-string-parse-hang.md | ||
dup-attr-errors.md | ||
empty-search-regex.md | ||
enter-debugger-more-reliably-in-let-and-calls.md | ||
env-size-reduction.md | ||
eval-system.md | ||
fchmodat2-sandbox.md | ||
fix-nested-follows.md | ||
forbid-nested-debuggers.md | ||
formal-order.md | ||
inherit-error-positions.md | ||
inherit-from-by-need.md | ||
leading-period.md | ||
new-assertions.md | ||
nix-config-show.md | ||
nix-env-json-drv-path.md | ||
nix-flake-check-logs-actions.md | ||
nix-flake-update-ux.md | ||
nix-profile-names.md | ||
nixversion-fake.md | ||
no-cache-eval-errors.md | ||
print-value-in-coercion-error.md | ||
print-value-in-type-error.md | ||
reduce-debugger-clutter.md | ||
repl-doc-command.md | ||
repl-overlays.md | ||
short-expr-flag.md | ||
source-location-in-while-evaluating-attribute.md | ||
source-positions-in-errors.md | ||
stack-overflow-segfaults.md | ||
upgrade-nix-override.md | ||
upgrade-nix-profile-compat.md | ||
upstart-removal.md | ||
with-error-reporting.md |