lix/src
Maximilian Bosch e146393183
nix3-build: show all FOD errors with --keep-going
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: I378ab984fa271e6808c6897c45e0f070eb4c6fac
2024-05-15 15:35:18 +02:00
..
build-remote Remove HintFmt::operator% 2024-03-26 15:40:05 -07:00
libcmd nix3-build: show all FOD errors with --keep-going 2024-05-15 15:35:18 +02:00
libexpr remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
libfetchers add and fix -Wignored-qualifiers 2024-05-09 07:08:44 -06:00
libmain bump the extra --version info from info to notice, -vv -> -v 2024-05-10 11:55:17 -06:00
libstore Merge "feat(libstore): print the first line of stdout of SSH in case of failure" into main 2024-05-10 19:33:36 +00:00
libutil libutil: remove callback.hh 2024-05-10 02:21:11 +02:00
nix nix3-eval: don't elide top-level errors 2024-05-08 13:37:20 -06:00
nix-build Move shell_words into its own file 2024-03-26 16:44:04 -07:00
nix-channel Format Nix code with nixfmt 2024-04-08 13:00:00 -07:00
nix-collect-garbage util.hh: split out signals stuff 2024-03-11 00:52:09 -07:00
nix-copy-closure Merge pull request #9277 from keszybz/file-permissions 2024-03-04 05:26:17 +01:00
nix-env refactor some nix-env and profile code to libcmd 2024-04-29 01:19:21 +00:00
nix-instantiate Unify and refactor value printing 2024-03-09 03:50:06 +01:00
nix-store libexpr: Support structured error classes 2024-03-09 04:47:05 -07:00
resolve-system-dependencies remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
meson.build meson: implement functional tests 2024-03-27 18:37:50 -06:00