diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index fd219a84cbd..de4a62a8c92 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")