guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 17b77c3383c8df5061e0d22a0768b8f15cdbd779
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Apr 27 16:52:46 2025 +0200
gnu: emacs-parinfer-rust-mode: Fix tests.
* gnu/packages/emacs-xyz.scm (emacs-parinfer-rust-mode):
[arguments]<test-command>: Set it.
<phases>: Fix make test accessibility in phase 'configure.
[native-inputs]: Add emacs-clojure-mode, emacs-ert-runner, emacs-paredit.
Signed-off-by: Liliana Marie Prikler <[email protected]>
---
gnu/packages/emacs-xyz.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 12f6e63bff..e078c118e0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -29443,10 +29443,15 @@ keep Parens and Indentation inline with one another.")
(build-system emacs-build-system)
(arguments
(list
+ #:test-command #~(list "make" "test" "CASK=")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys)
+ ;; Skip all non-necessary targets.
+ (substitute* "Makefile"
+ (("^test:.*$")
+ "test:\n"))
(let ((parinfer-lib
(string-append
(dirname
@@ -29462,6 +29467,7 @@ keep Parens and Indentation inline with one another.")
("defcustom parinfer-rust-library-directory" parinfer-lib)
("defconst parinfer-rust--lib-name"
"libparinfer_rust.so"))))))))
+ (native-inputs (list emacs-clojure-mode emacs-ert-runner emacs-paredit))
(inputs (list parinfer-rust-emacs))
(propagated-inputs (list emacs-track-changes))
(home-page "https://github.com/justinbarclay/parinfer-rust-mode")