Subject: [bug#58365] [PATCH 6/6] guile-ac-d-bus: Don't duplicate 'check' phase.

From: Maxime Devos <[email-masked]>
Date: Fri, 7 Oct 2022 22:53:52 +0200

Now guile-build-system has a 'check' phase, the 'check' phase is duplicated.
It's harmless, but let's not.

* gnu/packages/guile-xyz.scm
(guile-ac-d-bus)[arguments]<#:phases>{check}: Instead of adding the phase,
replace it.
---
 gnu/packages/guile-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 711e2eade9..0339bf8281 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -3911,7 +3911,7 @@ (define (guile-sls->sls file)
             (lambda _
               (with-directory-excursion "docs"
                 (invoke "makeinfo" "ac-d-bus"))))
-          (add-after 'build-doc 'check
+          (replace 'check
             (lambda* (#:key (tests? #t) #:allow-other-keys)
               (when tests?
                 ;; There is no locale for the ö character, which crashes
-- 
2.37.3