mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: sudo: Support Python plug-ins.
* gnu/packages/admin.scm (sudo)[arguments]: Add ‘--enable-python’ to CONFIGURE-FLAGS. [inputs]: Add python and order alphabetically.
This commit is contained in:
parent
6fa393e2b8
commit
452244e670
1 changed files with 6 additions and 3 deletions
|
@ -1299,6 +1299,8 @@ (define-public sudo
|
||||||
(list (string-append "--docdir=" (assoc-ref %outputs "out")
|
(list (string-append "--docdir=" (assoc-ref %outputs "out")
|
||||||
"/share/doc/" ,name "-" ,version)
|
"/share/doc/" ,name "-" ,version)
|
||||||
|
|
||||||
|
"--enable-python" ; for plug-ins written in ~
|
||||||
|
|
||||||
"--with-logpath=/var/log/sudo.log"
|
"--with-logpath=/var/log/sudo.log"
|
||||||
"--with-rundir=/var/run/sudo" ; must be cleaned up at boot time
|
"--with-rundir=/var/run/sudo" ; must be cleaned up at boot time
|
||||||
"--with-vardir=/var/db/sudo"
|
"--with-vardir=/var/db/sudo"
|
||||||
|
@ -1353,9 +1355,10 @@ (define-public sudo
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("groff" ,groff)))
|
`(("groff" ,groff)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("linux-pam" ,linux-pam)
|
`(("coreutils" ,coreutils)
|
||||||
("zlib" ,zlib)
|
("linux-pam" ,linux-pam)
|
||||||
("coreutils" ,coreutils)))
|
("python" ,python)
|
||||||
|
("zlib" ,zlib)))
|
||||||
(home-page "https://www.sudo.ws/")
|
(home-page "https://www.sudo.ws/")
|
||||||
(synopsis "Run commands as root")
|
(synopsis "Run commands as root")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue