summary refs log tree commit diff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-05-12 16:58:30 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-05-13 00:21:47 +0200
commit452244e670467afe0e8ccdfb9ca2980d5a3b4694 (patch)
tree0f8f93570b0f09fa19586436eb29e83873187989 /gnu/packages/admin.scm
parent6fa393e2b8433f84de61aa87a55f5d167fcffc78 (diff)
downloadguix-452244e670467afe0e8ccdfb9ca2980d5a3b4694.tar.gz
gnu: sudo: Support Python plug-ins.
* gnu/packages/admin.scm (sudo)[arguments]: Add ‘--enable-python’ to
CONFIGURE-FLAGS.
[inputs]: Add python and order alphabetically.
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 45721acd38..d05740e252 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1299,6 +1299,8 @@ system administrator.")
        (list (string-append "--docdir=" (assoc-ref %outputs "out")
                             "/share/doc/" ,name "-" ,version)
 
+             "--enable-python"          ; for plug-ins written in ~
+
              "--with-logpath=/var/log/sudo.log"
              "--with-rundir=/var/run/sudo" ; must be cleaned up at boot time
              "--with-vardir=/var/db/sudo"
@@ -1353,9 +1355,10 @@ system administrator.")
     (native-inputs
      `(("groff" ,groff)))
     (inputs
-     `(("linux-pam" ,linux-pam)
-       ("zlib" ,zlib)
-       ("coreutils" ,coreutils)))
+     `(("coreutils" ,coreutils)
+       ("linux-pam" ,linux-pam)
+       ("python" ,python)
+       ("zlib" ,zlib)))
     (home-page "https://www.sudo.ws/")
     (synopsis "Run commands as root")
     (description