summaryrefslogtreecommitdiff
path: root/include/jobs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/jobs.h')
-rw-r--r--include/jobs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/jobs.h b/include/jobs.h
index 11f6b01..37445c1 100644
--- a/include/jobs.h
+++ b/include/jobs.h
@@ -9,7 +9,7 @@ struct output {
};
struct job {
- char *name, *drv_path;
+ char *name, *drv_path, *attr;
bool transitive;
bool insubstituters;
@@ -32,6 +32,7 @@ typedef enum {
JOB_READ_EVAL_ERR = 2,
JOB_READ_JSON_INVAL = 3,
JOB_READ_CACHED = 4,
+ JOB_READ_SYS_MISMATCH = 5,
} job_read_state_t;
int job_read(FILE *stream, struct job **jobs);