[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47661] [PATCH v2 30/33] gnu: emacs-w3m: Adjust to changes in emacs-
From: |
Leo Prikler |
Subject: |
[bug#47661] [PATCH v2 30/33] gnu: emacs-w3m: Adjust to changes in emacs-build-system. |
Date: |
Sat, 17 Apr 2021 19:06:45 +0200 |
* gnu/packages/emacs-xyz.scm (emacs-w3m)[#:configure-flags]: Use
elpa-directory to determine lispdir.
[#:phases]<install>: Likewise.
---
gnu/packages/emacs-xyz.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ee3df7cf19..949659e617 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1721,14 +1721,16 @@ or unexpected behavior inside an elisp configuration
file (typically
("imagemagick" ,imagemagick)))
(arguments
`(#:modules ((guix build gnu-build-system)
+ ((guix build emacs-build-system) #:prefix emacs:)
(guix build utils)
(guix build emacs-utils))
#:imported-modules (,@%gnu-build-system-modules
+ (guix build emacs-build-system)
(guix build emacs-utils))
#:configure-flags
(let ((out (assoc-ref %outputs "out")))
(list (string-append "--with-lispdir="
- out "/share/emacs/site-lisp")
+ (emacs:elpa-directory out))
(string-append "--with-icondir="
out "/share/images/emacs-w3m")
;; Leave .el files uncompressed, otherwise GC can't
@@ -1773,8 +1775,7 @@ or unexpected behavior inside an elisp configuration file
(typically
(lambda* (#:key outputs #:allow-other-keys)
(invoke "make" "install" "install-icons")
(with-directory-excursion
- (string-append (assoc-ref outputs "out")
- "/share/emacs/site-lisp")
+ (emacs:elpa-directory (assoc-ref outputs "out"))
(for-each delete-file '("ChangeLog" "ChangeLog.1"))
(symlink "w3m-load.el" "w3m-autoloads.el")
#t))))))
--
2.31.1
- [bug#47661] [PATCH v2 05/33] gnu: emacs-libgit: Adjust to changes in emacs-build-system., (continued)
- [bug#47661] [PATCH v2 05/33] gnu: emacs-libgit: Adjust to changes in emacs-build-system., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH v2 10/33] gnu: emacs-howm: Adjust to changes in emacs-build-system., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH v2 12/33] gnu: emacs-pdf-tools: Adjust to changes in emacs-build-system., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH v2 06/33] gnu: emacs-guix: Adjust to changes in emacs-build-system., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH v2 15/33] gnu: emacs-sly-stepper: Remove generated sources., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH v2 23/33] gnu: emacs-geiser: Update to 0.13., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH v2 26/33] gnu: emacs-flycheck-guile: Add missing input., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH v2 27/33] gnu: guile-studio: Add missing input., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH v2 28/33] gnu: geiser-gauche: Adjust to changes in emacs-build-system., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH v2 29/33] gnu: emacs-dvc: Adjust to changes in emacs-build-system., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH v2 30/33] gnu: emacs-w3m: Adjust to changes in emacs-build-system.,
Leo Prikler <=
- [bug#47661] [PATCH v2 31/33] gnu: emacs-wget: Port to emacs-build-system., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH v2 32/33] gnu: emacs-haskell-mode: Adjust to changes in emacs-build-system., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH v2 33/33] gnu: emacs-julia-snail: Adjust to changes in emacs-build-system., Leo Prikler, 2021/04/17
- [bug#47661] [PATCH 00/33] Improve Emacs UX., Xinglu Chen, 2021/04/29