Subject: [PATCH 18/28] gnu: emacs-scratch-el: Skip tests.

From: Nicolas Graves <[email-masked]>
Date: Sun, 27 Apr 2025 16:52:52 +0200

* gnu/packages/emacs-xyz.scm (emacs-scratch-el):
  [arguments]<tests?>: Skip tests.
  <phases>: Add phase 'install-doc.
---
 gnu/packages/emacs-xyz.scm | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c1069a7d6f..0edb07bd5c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24992,16 +24992,15 @@ (define-public emacs-scratch-el
     (native-inputs
      (list texinfo))
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (add-after 'install 'install-doc
-           (lambda* (#:key outputs #:allow-other-keys)
-             (unless (invoke "makeinfo" "scratch.texi")
-               (error "makeinfo failed"))
-             (install-file "scratch.info"
-                           (string-append (assoc-ref outputs "out")
-                                          "/share/info"))
-             #t)))))
+     (list #:tests? #f ; No tests.
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'install 'install-doc
+                 (lambda _
+                   (unless (invoke "makeinfo" "scratch.texi")
+                     (error "makeinfo failed"))
+                   (install-file "scratch.info"
+                                 (string-append #$output "/share/info")))))))
     (home-page "https://codeberg.org/emacs-weirdware/scratch")
     (synopsis "Create scratch buffers with the same mode as current buffer")
     (description "Scratch is an extension to Emacs that enables one to create
-- 
2.49.0