From ae2f075716cfb2b53a55b1a3f26d382420fb036a Mon Sep 17 00:00:00 2001 From: Bruno Victal Date: Sun, 15 Oct 2023 18:47:07 +0100 Subject: gnu: poke: Install emacs modes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/engineering.scm (poke)[arguments]<#:configure-flags>: Correctly set lispdir for emacs. Signed-off-by: Ludovic Courtès --- gnu/packages/engineering.scm | 10 ++++++++-- 1 file 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. -- cgit 1.4.1