Files
nix/tests/functional
John Ericson 169033001d Simplify handling of statuses for build errors
Instead of passing them around separately, or doing finicky logic in a
try-catch block to recover them, just make `BuildError` always contain a
status, and make it the thrower's responsibility to set it. This is much
more simple and explicit.

Once that change is done, split the `done` functions of `DerivationGoal`
and `DerivationBuildingGoal` into separate success and failure
functions, which ends up being easier to understand and hardly any
duplication.

Also, change the handling of failures in resolved cases to use
`BuildResult::DependencyFailed` and a new message. This is because the
underlying derivation will also get its message printed --- which is
good, because in general the resolved derivation is not unique. One dyn
drv test had to be updated, but CA (and dyn drv) is experimental, so I
do not mind.

Finally, delete `SubstError` because it is unused.
2025-08-27 20:05:06 -04:00
..
2025-08-07 02:58:29 +03:00
2025-07-22 02:52:53 +03:00
2025-08-18 20:29:45 +03:00
2025-01-24 17:04:02 +01:00
2024-08-14 15:35:40 -04:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-05-12 15:06:54 +02:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-06-11 16:11:38 -04:00
2025-02-19 12:47:28 +01:00
2024-08-14 15:35:40 -04:00
2025-01-24 17:04:02 +01:00
2023-10-06 09:05:56 -04:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-06-19 15:23:10 -07:00
2024-10-16 17:18:07 +02:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-02-07 11:20:18 +01:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-05-23 10:45:12 +02:00
2025-07-24 18:06:06 +02:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-01-24 15:25:10 +01:00
2025-08-18 20:29:45 +03:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-06-22 16:49:44 +02:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-08-04 23:50:02 +03:00
2025-01-24 17:04:02 +01:00
2024-08-14 15:16:06 +02:00
2025-02-11 20:58:48 +01:00
2024-08-14 15:16:06 +02:00
2025-05-24 00:40:06 +02:00
2025-01-24 17:04:02 +01:00
2024-08-14 15:16:06 +02:00
2025-05-09 16:55:13 +02:00
2024-08-14 15:16:06 +02:00
2024-08-14 15:16:06 +02:00
2024-06-11 16:05:57 +02:00
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00