guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: emacs-ox-tufte: Simplify test invocation.


From: guix-commits
Subject: 02/02: gnu: emacs-ox-tufte: Simplify test invocation.
Date: Thu, 7 Mar 2024 05:42:31 -0500 (EST)

abcdw pushed a commit to branch master
in repository guix.

commit 0f2eede9f1d4574813935b7f58384036d509002d
Author: Suhail Singh <suhailsingh247@gmail.com>
AuthorDate: Tue Mar 5 19:50:38 2024 -0500

    gnu: emacs-ox-tufte: Simplify test invocation.
    
    * gnu/packages/emacs-xyz.scm (emacs-ox-tufte): Simplify the test invocation
    using the --use-emacsloadpath option in emacs-eldev@1.9.
    
    Change-Id: Ie61a336251b2670872cc8d049cc1c62284b7f350
    Signed-off-by: Andrew Tropin <andrew@trop.in>
---
 gnu/packages/emacs-xyz.scm | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 903537acb5..7fa5df9202 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -33691,22 +33691,7 @@ simple but powerful Org contents.")
      (list
       #:include #~(cons "^src/" %default-include)
       #:tests? #t
-      ;; 
<https://github.com/emacs-eldev/eldev/issues/99#issuecomment-1912637609>
-      #:test-command #~(list "eldev" "-X" "-dtTC" "test")
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'unpack 'configure-eldev
-            (lambda _
-              (setenv "HOME"
-                      (string-append (getcwd) "/.eldev"))
-              (with-output-to-file "Eldev-local"
-                (lambda _
-                  (format #t "~s"
-                          '(dolist (d (split-string (getenv
-                                                     "EMACSLOADPATH")
-                                                    ":" t))
-                                   (ignore-errors
-                                    (eldev-use-local-dependency d)))))))))))
+      #:test-command #~(list "eldev" "--use-emacsloadpath" "-dtTC" "test")))
     (native-inputs (list emacs-buttercup emacs-eldev))
     (propagated-inputs (list emacs-org))
     (home-page "https://github.com/ox-tufte/ox-tufte";)



reply via email to

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