guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 46f3f9f028b6b6fc46a03a6218bfdb84508fda86
Author: jgart <[email protected]>
AuthorDate: Sun Feb 22 21:11:54 2026 -0500

    gnu: guix-compose: The check phase should respect #:tests?.
    
    * gnu/packages/containers.scm (guix-compose)[arguments]: The check phase 
should respect #:tests?.
    
    Change-Id: If55bb0f45b795e1d85088fdc869a118ec74894e5
    Signed-off-by: jgart <[email protected]>
---
 gnu/packages/containers.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index 18591258ba..79bceda0be 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -339,9 +339,10 @@ contents, and discovering ways to shrink the size of 
Docker/OCI image.")
                   #$output "/share/guile/site/3.0/guix/extensions/compose.scm")
                  "share/guix/extensions/compose.scm"))))
           (add-after 'add-extension-to-search-path 'check
-            (lambda _
-              (invoke
-               "guile" "-L" "./modules" "-s" "tests/test-compose.scm"))))))
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke
+                 "guile" "-L" "./modules" "-s" "tests/test-compose.scm")))))))
     (native-inputs (list guile-3.0))
     ;; Avoid setting propagated so that we use the user’s profile.
     (inputs (list guix guile-yamlpp))

Reply via email to