diff options
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/store-api.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index 94dc8ab1ac7e..3057106ec142 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -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, |