guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-citar: Fix autoloads and restore tests


From: guix-commits
Subject: branch master updated: gnu: emacs-citar: Fix autoloads and restore tests.
Date: Fri, 26 Jan 2024 11:46:52 -0500

This is an automated email from the git hooks/post-receive script.

abcdw pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 8ae8b9804f gnu: emacs-citar: Fix autoloads and restore tests.
8ae8b9804f is described below

commit 8ae8b9804fa4aef23d4028563559bf7bec52fec2
Author: Edward Wilson <bienjensu@gmail.com>
AuthorDate: Wed Jan 24 22:34:40 2024 +0000

    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>
---
 gnu/packages/emacs-xyz.scm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]