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

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

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5d51dbae42..08367ed411 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -656,8 +656,7 @@ (define-public emacs-geiser-racket
                          (search-input-file inputs "bin/racket"))))))
           (add-after 'make-autoloads 'patch-autoloads
             (lambda _
-              (substitute* (string-append (elpa-directory #$output)
-                                          "/geiser-racket-autoloads.el")
+              (substitute* "geiser-racket-autoloads.el"
                 ;; Activating implementations fails when Geiser is not yet
                 ;; loaded, so let's defer that until it is.
                 (("\\(geiser-activate-implementation .*\\)" all)
-- 
2.41.0