From 6c6cc42f0ac095ecc6d2f20cd399d77d86080b66 Mon Sep 17 00:00:00 2001 From: "(" Date: Sat, 26 Nov 2022 10:09:05 +0000 Subject: gnu: emacs-rec-mode: Patch executable paths. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/databases.scm (emacs-rec-mode)[#:phases]: Add ‘patch-program-paths’. [inputs]: Add recutils. Signed-off-by: Liliana Marie Prikler --- gnu/packages/databases.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index de30145ec5..862d8bfd62 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1634,10 +1634,17 @@ types are supported, as is encryption.") (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-program-paths + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-variables "rec-mode.el" + ("rec-recfix" (search-input-file inputs "bin/recfix")) + ("rec-recinf" (search-input-file inputs "bin/recinf")) + ("rec-recsel" (search-input-file inputs "bin/recsel"))))) (add-before 'install 'make-info (lambda _ (invoke "makeinfo" "--no-split" "-o" "rec-mode.info" "rec-mode.texi")))))) + (inputs (list recutils)) (native-inputs (list texinfo)) (home-page "https://www.gnu.org/software/recutils/") (synopsis "Emacs mode for working with recutils database files") -- cgit 1.4.1