summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-14 15:48:02 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-14 15:48:02 +0100
commit6717ce28d066c7ead4dfb3538930ca74c1bac523 (patch)
tree52c0243fbf4d6d30cd1a87e3d34c89d4cd3786f3
parent644ff4dc6985329614f416643de793eedf99d507 (diff)
downloadguix-6717ce28d066c7ead4dfb3538930ca74c1bac523.tar.gz
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.
-rw-r--r--guix/build/emacs-build-system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/emacs-build-system.scm b/guix/build/emacs-build-system.scm
index e6b88ad640..e48281d838 100644
--- a/guix/build/emacs-build-system.scm
+++ b/guix/build/emacs-build-system.scm
@@ -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))