me
/
guix
Archived
1
0
Fork 0

gnu: emacs-citar: Fix autoloads and restore tests.

The default build-system emacs doesn't properly expand cl-lib macros when
compiling autoloads. This patch changes the `#:emacs` build argument, fixing a
present bug (reproducible by requiring citar-autoloads in a minimal
environment). This change also allows the validation of compiled autoloads to
succeed, hence the test phase is restored.

* gnu/packages/emacs-xyz.scm (emacs-citar): Change build-system emacs and
restore tests

Change-Id: Id56de922e5220383f8c5015a01e39b4aa2ea8cfb
Signed-off-by: Andrew Tropin <andrew@trop.in>
master
Edward Wilson 2024-01-24 22:34:40 +00:00 committed by Andrew Tropin
parent 4671925528
commit 8ae8b9804f
No known key found for this signature in database
GPG Key ID: 2208D20958C1DEB0
1 changed files with 2 additions and 4 deletions

View File

@ -23634,6 +23634,7 @@ automatically fetched from well-curated sources, and formatted as BibTeX.")
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
(list (list
#:emacs emacs-no-x
#:tests? #true #:tests? #true
#:test-command #~(list "emacs" "--batch" "-L" "." #:test-command #~(list "emacs" "--batch" "-L" "."
"-l" "test/citar-test.el" "-l" "test/citar-test.el"
@ -23643,10 +23644,7 @@ automatically fetched from well-curated sources, and formatted as BibTeX.")
#:phases #~(modify-phases %standard-phases #:phases #~(modify-phases %standard-phases
(add-before 'build 'set-home (add-before 'build 'set-home
(lambda _ (lambda _
(setenv "HOME" "/tmp"))) (setenv "HOME" "/tmp"))))))
;; XXX: The following phase reports bogus errors. Suppress
;; it for now.
(delete 'validate-compiled-autoloads))))
(propagated-inputs (list emacs-auctex (propagated-inputs (list emacs-auctex
emacs-citeproc-el emacs-citeproc-el
emacs-embark emacs-embark