Files
nix/tests/functional
Maximilian Bosch 19720d733f 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 https://git.lix.systems/lix-project/lix/issues/302

Change-Id: I378ab984fa271e6808c6897c45e0f070eb4c6fac
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2024-05-17 18:48:52 +02:00
..
2024-01-22 08:56:02 -08:00
2024-03-23 22:08:52 -04:00
2024-03-25 19:48:59 +01:00
2023-10-06 09:05:56 -04:00
2023-10-06 09:05:56 -04:00
2024-02-13 09:44:14 -05:00
2024-03-04 19:25:28 +01:00
2023-12-18 14:04:25 -08:00
2023-11-03 11:03:58 +01:00
2023-12-06 14:05:32 +01:00
2023-12-21 22:13:43 +01:00
2023-12-18 11:29:55 -08:00