forked from DGNum/liminix
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 ? []
|
||||
, notification-fd ? null
|
||||
, dependencies ? []
|
||||
, buildInputs ? []
|
||||
, ...
|
||||
} @ args:
|
||||
let logger = service {
|
||||
|
@ -65,7 +66,7 @@ let
|
|||
pipeline-name = "${name}-pipeline";
|
||||
};
|
||||
in service (args // {
|
||||
buildInputs = [ logger ];
|
||||
buildInputs = buildInputs ++ [ logger ];
|
||||
serviceType = "longrun";
|
||||
run = serviceScript "${run}\n${cleanupScript name}";
|
||||
producer-for = "${name}-log";
|
||||
|
|
Loading…
Reference in a new issue