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

* gnu/packages/admin.scm (sudo)[arguments]: Add versioned --docdir to
CONFIGURE-FLAGS.
This commit is contained in:
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

View file

@ -1296,7 +1296,10 @@ (define-public sudo
(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"