Subject: [PATCH 03/51] gnu: emacs-magit-todos: Disable absent tests.

From: Nicolas Graves <[email-masked]>
Date: Thu, 20 Mar 2025 11:08:11 +0100

* gnu/packages/emacs-xyz.scm (emacs-magit-todos)[source]: Delete
Makefile and makem.sh to disable tests search, there are none.
[arguments]{tests?}: Disable tests.
---
 gnu/packages/emacs-xyz.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bd3f379910..b744d72333 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30749,8 +30749,16 @@ (define-public emacs-magit-todos
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0rjr5q73609bs8gx2h5lp7c7bk5nkplfqfd56ifwdrdzdfzn5khy"))))
+         "0rjr5q73609bs8gx2h5lp7c7bk5nkplfqfd56ifwdrdzdfzn5khy"))
+       (modules '((guix build utils)))
+       (snippet #~(begin
+                    (delete-file-recursively "screenshots")
+                    ;; Contents of makem package, but no tests.
+                    (for-each delete-file
+                              '("makem.sh" "Makefile"))))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #f)) ; No tests in source.
     (propagated-inputs
      (list emacs-async
            emacs-dash
-- 
2.48.1