Skip to content
Snippets Groups Projects
Commit d2c58ba6 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Restore the CachedFailure status code

The removal of CachedFailure caused the value of TimedOut to change,
which broke timed-out handling in Hydra (so timed-out builds would
show up as "aborted" and would be retried, e.g. at
http://hydra.nixos.org/build/42537427).
parent fdbbcc44
No related branches found
No related tags found
No related merge requests found
......@@ -188,6 +188,9 @@ enum BuildMode { bmNormal, bmRepair, bmCheck, bmHash };
struct BuildResult
{
/* Note: don't remove status codes, and only add new status codes
at the end of the list, to prevent client/server
incompatibilities in the nix-store --serve protocol. */
enum Status {
Built = 0,
Substituted,
......@@ -196,6 +199,7 @@ struct BuildResult
InputRejected,
OutputRejected,
TransientFailure, // possibly transient
CachedFailure, // no longer used
TimedOut,
MiscFailure,
DependencyFailed,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment