gnu: ruby-ae: Respect #:tests? argument.

* gnu/packages/ruby.scm (ruby-ae) [phases] {check}: Skip the 'check
phase when #:tests? is false.

Change-Id: I1f270fbfe4feb9aac5b6f9bd3fae14a8fdd2bfec
This commit is contained in:
Sharlatan Hellseher 2025-02-17 10:39:47 +00:00 committed by Andreas Enge
parent fb0a632fc8
commit 3ba49ab322
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -12457,7 +12457,9 @@ ruby with support for changing priority using pairing heap data structure")
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (invoke "qed"))) (lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "qed"))))
(add-before 'validate-runpath 'replace-broken-symlink (add-before 'validate-runpath 'replace-broken-symlink
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))