guix_mirror_bot pushed a commit to branch emacs-team
in repository guix.

commit 1a61f9f8826af19405d342cd50ccbc2af4bb590d
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Sun May 18 10:16:10 2025 +0200

    gnu: emacs-flymake-shellcheck: Use search-input-file.
    
    * gnu/packages/emacs-xyz.scm (emacs-flymake-shellcheck):
      [arguments]<phases>: Improve phase 'substitute-shellcheck-path.
    
    Signed-off-by: Ian Eure <i...@retrospec.tv>
---
 gnu/packages/emacs-xyz.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6ffa5ae5a1..cda199054e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3650,8 +3650,7 @@ boilerplate code from defining new Flymake backend 
functions.")
                (emacs-substitute-sexps "flymake-shellcheck.el"
                  ("defcustom flymake-shellcheck-path"
                   `(or (executable-find "shellcheck")
-                       ,(string-append (assoc-ref inputs "shellcheck")
-                                       "/bin/shellcheck")))))))))
+                       ,(search-input-file inputs "bin/shellcheck")))))))))
       (inputs
        (list shellcheck))
       (home-page "https://github.com/federicotdn/flymake-shellcheck";)

Reply via email to