guix: Do not assume "emacs" label in make-autoloads.
* guix/build/emacs-build-system.scm (make-autoloads): Look for "emacs" executable independently on the label.master
parent
644ff4dc69
commit
6717ce28d0
|
@ -219,7 +219,7 @@ parallel. PARALLEL-TESTS? is ignored when using a non-make TEST-COMMAND."
|
|||
|
||||
(define* (make-autoloads #:key outputs inputs #:allow-other-keys)
|
||||
"Generate the autoloads file."
|
||||
(let* ((emacs (string-append (assoc-ref inputs "emacs") "/bin/emacs"))
|
||||
(let* ((emacs (search-input-files inputs "/bin/emacs"))
|
||||
(out (assoc-ref outputs "out"))
|
||||
(elpa-name-ver (store-directory->elpa-name-version out))
|
||||
(elpa-name (package-name->name+version elpa-name-ver))
|
||||
|
|
Reference in New Issue