lilyp pushed a commit to branch emacs-team in repository guix. commit 68a8c5cd03bc2906f3953f2e1f379d17d9f51a3d Author: Liliana Marie Prikler <liliana.prik...@gmail.com> AuthorDate: Thu Mar 13 20:42:59 2025 +0100
gnu: emacs-evil-nerd-commenter: Handle tests. * gnu/packages/emacs-xyz.scm (emacs-evil-nerd-commenter)[arguments]: Add #:test-command and set up phases for testing. Disable tests. [native-inputs]: Add emacs-web-mode. --- gnu/packages/emacs-xyz.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9f92046c55..79485c2ee3 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -18806,7 +18806,19 @@ pasting into and from @code{tmux} paste buffers.") (base32 "1xi4sd75pzhgcd9lzhx18hlzbrwh5q9gbscb1971qn94mzxwd60r")))) (build-system emacs-build-system) + (arguments (list #:test-command #~(list "make" "test") + #:tests? #f ; XXX: broken docstring + #: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-web-mode)) (home-page "https://github.com/redguardtoo/evil-nerd-commenter") (synopsis "Comment and uncomment lines efficiently") (description