diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-05-12 16:58:30 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-05-13 00:21:47 +0200 |
commit | 452244e670467afe0e8ccdfb9ca2980d5a3b4694 (patch) | |
tree | 0f8f93570b0f09fa19586436eb29e83873187989 /gnu | |
parent | 6fa393e2b8433f84de61aa87a55f5d167fcffc78 (diff) | |
download | guix-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')
-rw-r--r-- | gnu/packages/admin.scm | 9 |
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 |