This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d9a1655567 gnu: exim: Add documentation.
d9a1655567 is described below

commit d9a16555676f128c6d608f96f7ba510a0b7ff89e
Author: Zacchaeus <eik...@zacchae.us>
AuthorDate: Sun Jul 20 22:29:28 2025 -0700

    gnu: exim: Add documentation.
    
    * gnu/packages/mail.scm (exim): Add documentation to package output.
    
    Change-Id: I1112e315a2ca949252f2442f7395466efe9f4230
    Signed-off-by: Andreas Enge <andr...@enge.fr>
---
 gnu/packages/mail.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 4d1f5294af..68611d32f2 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -63,6 +63,7 @@
 ;;; Copyright © 2025 Sharlatan Hellseher <sharlata...@gmail.com>
 ;;; Copyright © 2025 Jelle Licht <jli...@fsfe.org>
 ;;; Copyright © 2024 Janneke Nieuwenhuizen <jann...@gnu.org>
+;;; Copyright © 2025 Zacchaeus <eik...@zacchae.us>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2150,7 +2151,15 @@ delivery.")
                    ;; same source tree and varies across different (parallel?)
                    ;; builds.  Make it a ‘constant number’ instead.
                    (substitute* "src/version.c"
-                     (("#include \"cnumber.h\"") "1")))))
+                     (("#include \"cnumber.h\"") "1"))))
+               (add-after 'build 'install-docs
+                 (lambda* (#:key outputs #:allow-other-keys)
+                   ;; Compiling spec.info requires us to build from git
+                   ;; instead of the exim tarball.  Add spec.txt instead.
+                   (install-file "doc/spec.txt"
+                                 (string-append (assoc-ref outputs "out")
+                                                "/share/doc/"
+                                                #$name "-" #$version)))))
            #:make-flags
            #~(list (string-append "CC=" #$(cc-for-target))
                    "INSTALL_ARG=-no_chown")

Reply via email to