me
/
guix
Archived
1
0
Fork 0

gnu: sudo: Use a versioned $(docdir).

* gnu/packages/admin.scm (sudo)[arguments]: Add versioned --docdir to
CONFIGURE-FLAGS.
master
Tobias Geerinckx-Rice 2020-05-12 16:47:26 +02:00
parent 6f6dbf2ac1
commit 6fa393e2b8
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 1 deletions

View File

@ -1296,7 +1296,10 @@ system administrator.")
(build-system gnu-build-system)
(arguments
`(#:configure-flags
(list "--with-logpath=/var/log/sudo.log"
(list (string-append "--docdir=" (assoc-ref %outputs "out")
"/share/doc/" ,name "-" ,version)
"--with-logpath=/var/log/sudo.log"
"--with-rundir=/var/run/sudo" ; must be cleaned up at boot time
"--with-vardir=/var/db/sudo"
"--with-iologdir=/var/log/sudo-io"