1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-26 04:00:30 +02:00

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 <jgart@dismail.de>
This commit is contained in:
jgart
2026-02-22 21:11:54 -05:00
parent 9d0fce8d97
commit 46f3f9f028

View File

@@ -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 users profile.
(inputs (list guix guile-yamlpp))