Subject: [PATCH emacs-team 12/15] gnu: emacs-geiser-chez: Process autoloads in-tree.

From: Liliana Marie Prikler <[email-masked]>
Date: Thu, 19 Oct 2023 07:21:31 +0200

* gnu/packages/emacs-xyz.scm (emacs-geiser-chez)[#:phases]<patch-autoloads>:
Resolve "geiser-chez-autoloads.el" in the current working directory.
---
 gnu/packages/emacs-xyz.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 08367ed411..fc5bc3a7d4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -694,9 +694,7 @@ (define-public emacs-geiser-chez
        (modify-phases %standard-phases
          (add-after 'make-autoloads 'patch-autoloads
            (lambda* (#:key outputs #:allow-other-keys)
-             (substitute* (string-append
-                           (elpa-directory (assoc-ref outputs "out"))
-                           "/geiser-chez-autoloads.el")
+             (substitute* "geiser-chez-autoloads.el"
                ;; Activating implementations fails when Geiser is not yet
                ;; loaded, so let's defer that until it is.
                ;; See <https://gitlab.com/emacs-geiser/chez/-/issues/7>.
-- 
2.41.0