guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/08: gnu: sudo: Use a versioned $(docdir).


From: guix-commits
Subject: 02/08: gnu: sudo: Use a versioned $(docdir).
Date: Tue, 12 May 2020 18:25:00 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 6fa393e2b8433f84de61aa87a55f5d167fcffc78
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Tue May 12 16:47:26 2020 +0200

    gnu: sudo: Use a versioned $(docdir).
    
    * gnu/packages/admin.scm (sudo)[arguments]: Add versioned --docdir to
    CONFIGURE-FLAGS.
---
 gnu/packages/admin.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 5369044..45721ac 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]