mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: emacs-geiser-racket: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-geiser-racket)[arguments]: Use G-expressions. Remove trailing #T.
This commit is contained in:
parent
c724c8448e
commit
45860c933e
1 changed files with 16 additions and 17 deletions
|
@ -390,23 +390,22 @@ (define-public emacs-geiser-racket
|
|||
(base32 "1aqsvmk1hi7kc3j4h8xlza7c6rwm71v98fv5wpw8kmyj9vsp49wx"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
'(#:include (cons "^src/" %default-include)
|
||||
#:phases
|
||||
(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-racket-autoloads.el")
|
||||
;; Activating implementations fails when Geiser is not yet
|
||||
;; loaded, so let's defer that until it is.
|
||||
(("\\(geiser-activate-implementation .*\\)" all)
|
||||
(string-append
|
||||
"(eval-after-load 'geiser-impl '" all ")"))
|
||||
(("\\(geiser-implementation-extension .*\\)" all)
|
||||
(string-append
|
||||
"(eval-after-load 'geiser-impl '" all ")")))
|
||||
#t)))))
|
||||
(list
|
||||
#:include #~(cons "^src/" %default-include)
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'make-autoloads 'patch-autoloads
|
||||
(lambda _
|
||||
(substitute* (string-append (elpa-directory #$output)
|
||||
"/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)
|
||||
(string-append
|
||||
"(eval-after-load 'geiser-impl '" all ")"))
|
||||
(("\\(geiser-implementation-extension .*\\)" all)
|
||||
(string-append
|
||||
"(eval-after-load 'geiser-impl '" all ")"))))))))
|
||||
(inputs
|
||||
(list racket))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Reference in a new issue