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

commit eb0b6eb57343bf4ac13c5287fa51cecc87b85f9e
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 | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8e9256f56c..28e7c20df9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2757,20 +2757,12 @@ organizing remote Go repository clones.")
     (arguments
      (list
       #:tests? #f                       ; no test suite
+      #:lisp-directory "lisp"
       #:phases
       #~(modify-phases %standard-phases
           (add-before 'install 'make-info
             (lambda _
-              (invoke "make" "info")))
-          (add-after 'make-info 'enter-lisp-directory
-            (lambda _
-              (chdir "lisp")))
-          (add-after 'expand-load-path 'add-el-dir-to-emacs-load-path
-            (lambda _
-              (setenv "EMACSLOADPATH"
-                      (string-append (getcwd)
-                                     "/lisp:"
-                                     (getenv "EMACSLOADPATH")))))
+              (invoke "make" "--directory=.." "info")))
           (add-after 'install 'install-info
             (lambda _
               (let ((info (string-append #$output "/share/info")))

Reply via email to