aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-06-25 10:09:51 +0530
committersinanmohd <sinan@sinanmohd.com>2024-06-25 11:41:36 +0530
commitcc02eba1d357dde0132593649c67a194750fe37d (patch)
treef21ed36fb32415faeb09b042bbb53d43c6043f0f /include
parent129082adfc234cdc2481d98b7f523a75126a0cf1 (diff)
jobs: check cache status of derivations
Diffstat (limited to 'include')
-rw-r--r--include/jobs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/jobs.h b/include/jobs.h
index 2357680..11f6b01 100644
--- a/include/jobs.h
+++ b/include/jobs.h
@@ -11,6 +11,7 @@ struct output {
struct job {
char *name, *drv_path;
bool transitive;
+ bool insubstituters;
size_t outputs_size, outputs_filled;
struct output **outputs;
@@ -30,6 +31,7 @@ typedef enum {
JOB_READ_EOF = 1,
JOB_READ_EVAL_ERR = 2,
JOB_READ_JSON_INVAL = 3,
+ JOB_READ_CACHED = 4,
} job_read_state_t;
int job_read(FILE *stream, struct job **jobs);