aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build-result.cc
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 03:48:50 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 04:36:23 +0100
commitea0008deea7769541fdbf7629bbeb8e9581d73a7 (patch)
tree603bf030b32f0bb9d39cae9ae345b20678850ecf /src/libstore/build-result.cc
parent8867479b2712d244dc3fd3829ba6710a0c14ebab (diff)
Merge pull request #9094 from obsidiansystems/test-proto
Test the rest of the worker protocol serializers (cherry picked from commit 2f1c16dfa2378fd8616bff1b9b7cd0b4d42af69b) Change-Id: Idfd72d32b21d14a260e02f65531d287cef7464d2
Diffstat (limited to 'src/libstore/build-result.cc')
-rw-r--r--src/libstore/build-result.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libstore/build-result.cc b/src/libstore/build-result.cc
new file mode 100644
index 000000000..18f519c5c
--- /dev/null
+++ b/src/libstore/build-result.cc
@@ -0,0 +1,18 @@
+#include "build-result.hh"
+
+namespace nix {
+
+GENERATE_CMP_EXT(
+ ,
+ BuildResult,
+ me->status,
+ me->errorMsg,
+ me->timesBuilt,
+ me->isNonDeterministic,
+ me->builtOutputs,
+ me->startTime,
+ me->stopTime,
+ me->cpuUser,
+ me->cpuSystem);
+
+}