guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 279ce57d5bb6e10fc86dcd5070e670c2a5b3e03d
Author: Nicolas Graves <[email protected]>
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 <[email protected]>
---
 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 fd219a84cb..de4a62a8c9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3676,8 +3676,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