nixos/acme: fix cert ownership assert for string SupplementaryGroups (#356064)

This commit is contained in:
misuzu 2024-12-01 16:31:01 +02:00 committed by GitHub
commit f608d1b3bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ let
svcGroups = svc:
(lib.optional (svc.serviceConfig ? Group) svc.serviceConfig.Group)
++ (svc.serviceConfig.SupplementaryGroups or [ ]);
++ lib.toList (svc.serviceConfig.SupplementaryGroups or [ ]);
in
{
assertion = builtins.all (svc: