GNU bug report logs -
#47661
[PATCH 00/33] Improve Emacs UX.
Previous Next
Full log
Message #146 received at 47661 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-sly-stepper)[#:phases]:
<add-contrib-to-emacs-load-path>: Rename to...
<expand-sly-contrib>: ... this. Use find-files to find contrib directory.
<install>: Find slynk-stepper.lisp in elpa-directory.
---
gnu/packages/emacs-xyz.scm | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ed22832fcb..9ffae08600 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10408,24 +10408,26 @@ inside the source file.")
(propagated-inputs
`(("emacs-sly" ,emacs-sly)))
(arguments
- '(#:include (cons* "\\.lisp$" "\\.asd$" %default-include)
+ `(#:include (cons* "\\.lisp$" "\\.asd$" %default-include)
#:phases
(modify-phases %standard-phases
;; The package provides autoloads.
(delete 'make-autoloads)
(delete 'enable-autoloads-compilation)
- (add-after 'add-source-to-load-path 'add-contrib-to-emacs-load-path
+ (add-after 'expand-load-path 'expand-sly-contrib
(lambda* (#:key inputs #:allow-other-keys)
- (let ((sly (assoc-ref inputs "emacs-sly")))
+ (let* ((sly (assoc-ref inputs "emacs-sly"))
+ (contrib (find-files sly "^contrib$" #:directories? #t)))
(setenv "EMACSLOADPATH"
- (string-append sly "/share/emacs/site-lisp/contrib:"
- (getenv "EMACSLOADPATH"))))
- #t))
+ (string-append (string-join contrib ":")
+ ":"
+ (getenv "EMACSLOADPATH")))
+ #t)))
(add-after 'install 'find-agnostic-lizard
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- (file (string-append out "/share/emacs/site-lisp/"
- "slynk-stepper.lisp"))
+ (file (string-append (elpa-directory out)
+ "/slynk-stepper.lisp"))
(asd (string-append
(assoc-ref inputs "cl-agnostic-lizard")
"/share/common-lisp/systems/agnostic-lizard.asd")))
--
2.31.1
This bug report was last modified 4 years and 101 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.