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

commit 7a4ca6398efb183b7e060bc21aa554072679533e
Author: Liliana Marie Prikler <liliana.prik...@gmail.com>
AuthorDate: Thu Mar 13 20:42:59 2025 +0100

    gnu: emacs-evil-matchit: Fix tests.
    
    * gnu/packages/emacs-xyz.scm (emacs-evil-matchit)[arguments]:
    Add #:test-command.
    <#:phases>: Add ‘patch-Makefile’.
    [native-inputs]: Add emacs-lua-mode, emacs-markdown-mode, emacs-tuareg,
    and emacs-yaml-mode.
---
 gnu/packages/emacs-xyz.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 95624c974c..08e6184083 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24604,8 +24604,22 @@ Features:
        (sha256
         (base32 "06ayyw8nim5fi819hr30x54wx2ba6aqvlh7r0vld06xc0zsjdhm3"))))
     (build-system emacs-build-system)
+    (arguments (list #:test-command #~(list "make" "test")
+                     #:phases
+                     #~(modify-phases %standard-phases
+                         (add-after 'unpack 'patch-Makefile
+                           (lambda _
+                             (substitute* "Makefile"
+                               (("-Q") "")
+                               (("-L [^.]*") "")
+                               (("deps/") "")
+                               ((" deps") "")))))))
     (propagated-inputs
      (list emacs-evil))
+    (native-inputs (list emacs-lua-mode
+                         emacs-markdown-mode
+                         emacs-tuareg
+                         emacs-yaml-mode))
     (home-page "https://github.com/redguardtoo/evil-matchit";)
     (synopsis "Vim matchit ported into Emacs")
     (description

Reply via email to