{}: {
jobspec,
vars ? {},
...
} @ args:
{
jobspec = "\${file(\"${jobspec}\")}";
hcl2 = {
inherit vars;
};
}
// builtins.removeAttrs args ["jobspec" "vars"]