liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 81b56fb6a3f9c39f199e1974ad62b1f429830fdc
parent 2ad203ce1f4908141a6203a8de0d1b320d484187
Author: Daniel Barlow <dan@telent.net>
Date:   Wed, 23 Aug 2023 20:28:49 +0100

new type for interface (presently just alias to service)

Diffstat:
Mpkgs/default.nix | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -28,12 +28,13 @@ in { lib = { types = let inherit (lib) types isDerivation; - in { + in rec { service = types.package // { name = "service"; description = "s6-rc service"; check = x: isDerivation x && x ? serviceType; }; + interface = service; serviceDefn = types.attrs // { name = "service-defn"; description = "parametrisable s6-rc service definition";