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:
Daniel Barlow 2024-03-16 20:25:29 +00:00
parent 8ac2c6cec1
commit b8a46fc05e

View file

@ -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";