fix: correct reference to unbound variable in lambda expression

pull/1/head
anemofilia 2023-09-24 11:42:46 -03:00
parent 14ba573d53
commit 3d8664bf42
No known key found for this signature in database
GPG Key ID: 5A8F3D62C87A2B33
1 changed files with 2 additions and 2 deletions

View File

@ -262,11 +262,11 @@
(args '()))) (args '())))
`("zzz" "halt" "reboot"))) `("zzz" "halt" "reboot")))
(simple-service 'shepherd-status-permissions doas-service-type (simple-service 'shepherd-status-permissions doas-service-type
(map (lambda (arglist) (map (lambda (argument)
(permit (identity ":wheel") (permit (identity ":wheel")
(nopass? #t) (nopass? #t)
(command "herd") (command "herd")
(args (list arg)))) (args (list argument))))
`("status" "detailed-status"))) `("status" "detailed-status")))
(simple-service 'service-management-permissions doas-service-type (simple-service 'service-management-permissions doas-service-type
(flatmap (lambda (service action) (flatmap (lambda (service action)