summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorAndy Wingo <wingo@igalia.com>2016-02-21 22:06:12 +0100
committerAndy Wingo <wingo@igalia.com>2016-02-24 10:16:54 +0100
commitea84bd88da2212bdaa905ce4bbd3d4ac1b5272bc (patch)
tree3052fb739158d3550e6298b2493d1459859214b4 /gnu/services
parentebde7c7a9be91a8546c24730fdb29823fe27acb2 (diff)
downloadguix-ea84bd88da2212bdaa905ce4bbd3d4ac1b5272bc.tar.gz
gnu: services: Install policies for polkit service.
* gnu/services/desktop.scm (polkit-etc-files): Add the polkit package
  itself to the list of packages to scan for .policy files.  This add
  support for pkexec.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/desktop.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index e4f0736b89..02bcf1b19f 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -378,7 +378,7 @@ site} for more information."
 (define polkit-etc-files
   (match-lambda
     (($ <polkit-configuration> polkit packages)
-     `(("polkit-1" ,(polkit-directory packages))))))
+     `(("polkit-1" ,(polkit-directory (cons polkit packages)))))))
 
 (define polkit-setuid-programs
   (match-lambda