lilyp pushed a commit to branch emacs-team
in repository guix.

commit ab2fbcf690fa7f5424814d6403eb02405462d5c4
Author: Morgan Smith <morgan.j.sm...@outlook.com>
AuthorDate: Sun Mar 2 17:15:11 2025 -0500

    gnu: emacs-ghub: Use '#:lisp-directory'.
    
    * gnu/packages/emacs-xyz.scm (emacs-ghub): Use '#:lisp-directory'.
    
    Change-Id: I07b7a94e5eadd64e6ce6813ff1d080b116b285e3
    Signed-off-by: Liliana Marie Prikler <liliana.prik...@gmail.com>
---
 gnu/packages/emacs-xyz.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 77dffb018b..d7ad5ea0e1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2774,17 +2774,16 @@ organizing remote Go repository clones.")
     (arguments
      (list
       #:tests? #f ; there are no tests
+      #:lisp-directory "lisp"
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'build-info-manual
             (lambda _
-              (invoke "make" "info")
-              ;; Move the info file to lisp so that it gets installed by the
-              ;; emacs-build-system.
-              (rename-file "docs/ghub.info" "lisp/ghub.info")))
-          (add-after 'build-info-manual 'chdir-lisp
+              (invoke "make" "--directory=.." "info")))
+          (add-after 'install 'install-info
             (lambda _
-              (chdir "lisp"))))))
+              (let ((info (string-append #$output "/share/info")))
+                (install-file "../docs/ghub.info" info)))))))
     (native-inputs
      (list texinfo))
     (propagated-inputs

Reply via email to