summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorFeng Shu <tumashu@163.com>2023-01-07 15:16:06 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-01-07 11:47:42 +0100
commitd9a45d2cc857ae1f36465a31a482c379938843aa (patch)
tree43d6c0cacc9d2403b6ad5593ebb876d27c151bc9 /gnu/packages
parentd16edd03cfa84f6d5fed979fd7283966cd3e4934 (diff)
downloadguix-d9a45d2cc857ae1f36465a31a482c379938843aa.tar.gz
gnu: emacs-citre: Search proper ctags program.
* gnu/packages/emacs-xyz.scm (emacs-citre)[arguments]<#:phases>: Do not use
search-input-file to search ctags, for it will get ctags of emacs-minimal
instead of universal-ctags.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f374fb924d..242d4058a8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -34170,7 +34170,11 @@ project.el and xref.el.")
             (lambda* (#:key inputs #:allow-other-keys)
               (emacs-substitute-variables "citre-ctags.el"
                 ("citre-ctags-program"
-                 (search-input-file inputs "/bin/ctags")))
+                 ;; XXX: Do not use SEARCH-INPUT-FILE in this place, for it
+                 ;; will get ctags of emacs-minimal instead of
+                 ;; universal-ctags.
+                 (string-append #$(this-package-input "universal-ctags")
+                                "/bin/ctags")))
               (emacs-substitute-variables "citre-readtags.el"
                 ("citre-readtags-program"
                  (search-input-file inputs "/bin/readtags")))