diff --git a/guix/build/emacs-build-system.scm b/guix/build/emacs-build-system.scm index e08ac32615..ab77e57f33 100644 --- a/guix/build/emacs-build-system.scm +++ b/guix/build/emacs-build-system.scm @@ -110,7 +110,7 @@ (define* (expand-load-path #:key (prepend-source? #t) #:allow-other-keys) (define* (build #:key outputs inputs #:allow-other-keys) "Compile .el files." - (let* ((emacs (string-append (assoc-ref inputs "emacs") "/bin/emacs")) + (let* ((emacs (search-input-file inputs "/bin/emacs")) (out (assoc-ref outputs "out"))) (setenv "SHELL" "sh") (parameterize ((%emacs emacs))