guix_mirror_bot pushed a commit to branch master
in repository guix.

commit bfefaabecc5d7ec22d0c268e2204c4659a341993
Author: Nguyễn Gia Phong <[email protected]>
AuthorDate: Tue Mar 3 16:09:06 2026 +0900

    gnu: awesome: Separate hypertext documentation.
    
    * gnu/packages/wm.scm (awesome)[outputs]: Add "doc".
      [arguments]<#:configure-flags>: Set AWESOME_DOC_PATH.
    
    Merges guix/guix!6833
    
    Change-Id: Ifb180d35ed14ef5b2fff49f718302e714f639aa5
    Signed-off-by: Cayetano Santos <[email protected]>
---
 gnu/packages/wm.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index a514f407d9..ba376ccd59 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1985,6 +1985,7 @@ for wlroots-based Wayland compositors.")
            xcb-util-xrm
            xcb-util-wm
            xterm))
+    (outputs '("out" "doc"))
     (arguments
      `(#:modules ((guix build cmake-build-system)
                   (guix build utils)
@@ -1993,7 +1994,8 @@ for wlroots-based Wayland compositors.")
        ;; so that '--no-name' is used, which removes timestamps from
        ;; gzip output.
        #:configure-flags
-       '("-DCOMPRESS_MANPAGES=off")
+       ,#~(list (string-append "-DAWESOME_DOC_PATH=" #$output:doc)
+                "-DCOMPRESS_MANPAGES=off")
        ;; Building awesome in its source directory is no longer
        ;; supported.
        #:out-of-source? #t

Reply via email to