lilyp pushed a commit to branch emacs-team
in repository guix.
commit 3c5f9581906e901b17dc9842f066ad3c84864d98
Author: Morgan Smith <[email protected]>
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 <[email protected]>
---
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 a3d07ef564..67c0e37464 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2713,20 +2713,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")))