guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-citre: Search proper ctags program.


From: guix-commits
Subject: branch master updated: gnu: emacs-citre: Search proper ctags program.
Date: Sat, 07 Jan 2023 05:48:52 -0500

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d9a45d2cc8 gnu: emacs-citre: Search proper ctags program.
d9a45d2cc8 is described below

commit d9a45d2cc857ae1f36465a31a482c379938843aa
Author: Feng Shu <tumashu@163.com>
AuthorDate: Sat Jan 7 15:16:06 2023 +0800

    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>
---
 gnu/packages/emacs-xyz.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]