diff options
author | ( <paren@disroot.org> | 2022-11-26 10:09:05 +0000 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2022-11-26 13:26:37 +0100 |
commit | 6c6cc42f0ac095ecc6d2f20cd399d77d86080b66 (patch) | |
tree | 6f9afc4e8eb98ffba8b635d1827bba742935d987 /gnu/packages/databases.scm | |
parent | 2f0f12933f3b48e7f04371d507a460faf873f22b (diff) | |
download | guix-6c6cc42f0ac095ecc6d2f20cd399d77d86080b66.tar.gz guix-6c6cc42f0ac095ecc6d2f20cd399d77d86080b66.zip |
gnu: emacs-rec-mode: Patch executable paths.
* gnu/packages/databases.scm (emacs-rec-mode)[#:phases]: Add
‘patch-program-paths’.
[inputs]: Add recutils.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r-- | gnu/packages/databases.scm | 7 |
1 files changed, 7 insertions, 0 deletions
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") |