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
921be2f3c8
commit
c223e5cea2
@ -52,6 +52,7 @@ let
|
||||
, outputs ? []
|
||||
, notification-fd ? null
|
||||
, dependencies ? []
|
||||
, buildInputs ? []
|
||||
, ...
|
||||
} @ args:
|
||||
let logger = service {
|
||||
@ -63,7 +64,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 New Issue
Block a user