guix_mirror_bot pushed a commit to branch emacs-team
in repository guix.

commit 6d65fdab7bff5db37a82517c7e4e892ed1394f6d
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Thu Mar 20 11:08:36 2025 +0100

    gnu: emacs-ripgrep: Fix tests.
    
    * gnu/packages/emacs-xyz.scm (emacs-ripgrep)
    [arguments]{test-command}: Set it.
    [native-inputs]: Add emacs-ert-runner.
    
    Signed-off-by: Liliana Marie Prikler <liliana.prik...@gmail.com>
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6413326511..57cc5f13e5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8392,15 +8392,16 @@ result.")
         (base32 "1a5rdpmvsgsjlc9sywism9pq7jd6n9qbcdsvpbfkq1npwhpifkbj"))))
     (build-system emacs-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         ;; The repository contains both ripgrep and projectile-ripgrep
-         ;; packages. The latter has been merged into projectile itself.
-         (add-after 'unpack 'delete-projectile-ripgrep
-           (lambda _
-             (delete-file "projectile-ripgrep.el"))))))
-    (propagated-inputs
-     (list ripgrep))
+     (list #:test-command #~(list "ert-runner")
+           #:phases
+           #~(modify-phases %standard-phases
+               ;; The repository contains both ripgrep and projectile-ripgrep
+               ;; packages. The latter has been merged into projectile itself.
+               (add-after 'unpack 'delete-projectile-ripgrep
+                 (lambda _
+                   (delete-file "projectile-ripgrep.el"))))))
+    (native-inputs (list emacs-ert-runner))
+    (propagated-inputs (list ripgrep))
     (home-page "https://github.com/nlamirault/ripgrep.el";)
     (synopsis "Search using ripgrep from inside Emacs")
     (description "@code{ripgrep} is an Emacs search package based on the
@@ -34168,7 +34169,9 @@ interface for debuggers.")
         (base32 "177ira42l1p7zjb24c0vp4biip9sczlvbgzfahp4mhgfd9h8a6bx"))))
     (build-system emacs-build-system)
     (arguments
-     (list #:include #~(cons* "\\.png$" %default-include)))
+     (list #:include #~(cons* "\\.png$" %default-include)
+           #:test-command #~(list "ert-runner" "-L" ".")))
+    (native-inputs (list emacs-ert-runner))
     (propagated-inputs
      (list emacs-bui
            emacs-lsp-docker

Reply via email to