mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-20 01:00:30 +02:00
gnu: emacs-epkg: Use '#:lisp-directory'.
* gnu/packages/emacs-xyz.scm (emacs-epkg): Use '#:lisp-directory'. Change-Id: If7ccb4a86e5104993ba4dcaae8c03cb8ee57713d Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
committed by
Liliana Marie Prikler
parent
b40006b183
commit
b2ef59d913
@@ -25956,26 +25956,17 @@ match your personal coding style.")
|
||||
(base32 "1a6zw1z318ip4vnqfgv99b2knbm3qq6ji7spqq9g5w3lls40aqvx"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
`(#:lisp-directory "lisp"
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'install 'make-info
|
||||
;; Documentation is located in "docs/".
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(with-directory-excursion "docs"
|
||||
(with-directory-excursion "../docs"
|
||||
(invoke "makeinfo" "-o" "epkg.info" "epkg.texi")
|
||||
(let ((info (string-append (assoc-ref outputs "out")
|
||||
"/share/info")))
|
||||
(install-file "epkg.info" info)))))
|
||||
(add-after 'make-info 'move-to-lisp-directory
|
||||
;; Source code is located in "lisp/".
|
||||
(lambda _
|
||||
(chdir "lisp")))
|
||||
(add-after 'expand-load-path 'add-el-dir-to-emacs-load-path
|
||||
(lambda _
|
||||
(setenv "EMACSLOADPATH"
|
||||
(string-append (getcwd)
|
||||
"/lisp:"
|
||||
(getenv "EMACSLOADPATH"))))))))
|
||||
(install-file "epkg.info" info))))))))
|
||||
(native-inputs
|
||||
(list texinfo))
|
||||
(propagated-inputs
|
||||
|
||||
Reference in New Issue
Block a user