allow buildInputs param to s6 service
this is in preparation for trigger services that need to close over the triggered service without adding it to s6-rc dependencies
This commit is contained in:
parent
8ac2c6cec1
commit
b8a46fc05e
1 changed files with 2 additions and 1 deletions
|
@ -54,6 +54,7 @@ let
|
||||||
, outputs ? []
|
, outputs ? []
|
||||||
, notification-fd ? null
|
, notification-fd ? null
|
||||||
, dependencies ? []
|
, dependencies ? []
|
||||||
|
, buildInputs ? []
|
||||||
, ...
|
, ...
|
||||||
} @ args:
|
} @ args:
|
||||||
let logger = service {
|
let logger = service {
|
||||||
|
@ -65,7 +66,7 @@ let
|
||||||
pipeline-name = "${name}-pipeline";
|
pipeline-name = "${name}-pipeline";
|
||||||
};
|
};
|
||||||
in service (args // {
|
in service (args // {
|
||||||
buildInputs = [ logger ];
|
buildInputs = buildInputs ++ [ logger ];
|
||||||
serviceType = "longrun";
|
serviceType = "longrun";
|
||||||
run = serviceScript "${run}\n${cleanupScript name}";
|
run = serviceScript "${run}\n${cleanupScript name}";
|
||||||
producer-for = "${name}-log";
|
producer-for = "${name}-log";
|
||||||
|
|
Loading…
Reference in a new issue