From 3d8664bf429b216b13dde5a09623624a5b85ea84 Mon Sep 17 00:00:00 2001 From: anemofilia Date: Sun, 24 Sep 2023 11:42:46 -0300 Subject: [PATCH] fix: correct reference to unbound variable in lambda expression --- buer.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buer.scm b/buer.scm index 11581f9..f342d22 100644 --- a/buer.scm +++ b/buer.scm @@ -262,11 +262,11 @@ (args '()))) `("zzz" "halt" "reboot"))) (simple-service 'shepherd-status-permissions doas-service-type - (map (lambda (arglist) + (map (lambda (argument) (permit (identity ":wheel") (nopass? #t) (command "herd") - (args (list arg)))) + (args (list argument)))) `("status" "detailed-status"))) (simple-service 'service-management-permissions doas-service-type (flatmap (lambda (service action)