aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-10-15 18:47:07 +0100
committerLudovic Courtès <ludo@gnu.org>2023-10-21 16:06:06 +0200
commitae2f075716cfb2b53a55b1a3f26d382420fb036a (patch)
tree4f50317d5fa509f87c4ddca4ceada92b4d19ecce /gnu/packages
parent03b350ab6212506dcd5dd21f8a5d27a6186f1a88 (diff)
downloadguix-ae2f075716cfb2b53a55b1a3f26d382420fb036a.tar.gz
guix-ae2f075716cfb2b53a55b1a3f26d382420fb036a.zip
gnu: poke: Install emacs modes.
* gnu/packages/engineering.scm (poke)[arguments]<#:configure-flags>: Correctly set lispdir for emacs. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/engineering.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index caaaf2f190..e478b8364d 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3258,10 +3258,16 @@ program that can perform mesh processing tasks in batch mode, without a GUI.")
(inputs (list libgc readline libtextstyle))
(arguments
(list
+ #:imported-modules `((guix build emacs-build-system)
+ (guix build emacs-utils)
+ ,@%gnu-build-system-modules)
+ #:modules '((guix build gnu-build-system)
+ ((guix build emacs-build-system) #:prefix emacs:)
+ (guix build utils))
#:configure-flags
#~(list "--disable-static"
- ;; The emacs files are provided in emacs-poke.
- "--with-lispdir=/tmp/share/emacs")))
+ (string-append "--with-lispdir="
+ (emacs:elpa-directory #$output)))))
(home-page "https://www.gnu.org/software/poke/#documentation")
(synopsis "Editing of arbitrary binary data")
(description "GNU poke is an interactive, extensible editor for binary data.