forked from lix-project/hydra
allow null values for jobs, meaning it should build
This commit is contained in:
parent
1f448673f0
commit
739a03393c
|
@ -178,6 +178,10 @@ static void findJobsWrapped(EvalState & state, XMLWriter & doc,
|
||||||
Bindings());
|
Bindings());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (v.type = tNull) {
|
||||||
|
// allow null values, meaning 'do nothing'
|
||||||
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
throw TypeError(format("unsupported value: %1%") % v);
|
throw TypeError(format("unsupported value: %1%") % v);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue