gnu: emacs-sly-stepper: Remove generated sources.

* gnu/packages/emacs-xyz.scm (sly-stepper)[source]: Add snippet to remove
autoloads.
[#:phases]: Do not delete ‘make-autoloads’ or ‘enable-autoloads-compilation’.
This commit is contained in:
Leo Prikler 2021-04-17 19:06:30 +02:00
parent 2c010c1ba0
commit 08d6f7fad9
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -10478,7 +10478,12 @@ (define-public emacs-sly-stepper
(file-name (git-file-name name version))
(sha256
(base32
"1hxniaxifdw3m4y4yssgy22xcmmf558wx7rpz66wy5hwybjslf7b"))))
"1hxniaxifdw3m4y4yssgy22xcmmf558wx7rpz66wy5hwybjslf7b"))
(modules '((guix build utils)))
(snippet
'(begin
(map delete-file (find-files "." ".*-autoloads\\.elc?$"))
#t))))
(build-system emacs-build-system)
(inputs
`(("cl-agnostic-lizard" ,cl-agnostic-lizard)))
@ -10488,9 +10493,6 @@ (define-public emacs-sly-stepper
`(#:include (cons* "\\.lisp$" "\\.asd$" %default-include)
#:phases
(modify-phases %standard-phases
;; The package provides autoloads.
(delete 'make-autoloads)
(delete 'enable-autoloads-compilation)
(add-after 'expand-load-path 'expand-sly-contrib
(lambda* (#:key inputs #:allow-other-keys)
(let* ((sly (assoc-ref inputs "emacs-sly"))