diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-05-12 16:47:26 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-05-13 00:21:47 +0200 |
commit | 6fa393e2b8433f84de61aa87a55f5d167fcffc78 (patch) | |
tree | bd0a2743204a5ef8c4d584f0a6ef19d3710e1353 /gnu/packages/admin.scm | |
parent | 6f6dbf2ac17fdd16ae87a112088dcaf5d3aff328 (diff) |
gnu: sudo: Use a versioned $(docdir).
* gnu/packages/admin.scm (sudo)[arguments]: Add versioned --docdir to
CONFIGURE-FLAGS.
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r-- | gnu/packages/admin.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 5369044300..45721acd38 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -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" |