Jobsets: add enable_dynamic_run_command

This commit is contained in:
Graham Christensen
2021-12-14 22:12:03 -05:00
parent 216d8bee35
commit 97a1d2d1d4
2 changed files with 11 additions and 2 deletions

View File

@ -88,6 +88,7 @@ create table Jobsets (
startTime integer, -- if jobset is currently running
type integer not null default 0, -- 0 == legacy, 1 == flake
flake text,
enable_dynamic_run_command boolean not null default false,
constraint jobsets_schedulingshares_nonzero_check check (schedulingShares > 0),
constraint jobsets_type_known_check check (type = 0 or type = 1),
-- If the type is 0, then nixExprInput and nixExprPath should be non-null and other type-specific fields should be null