guix_mirror_bot pushed a commit to branch ruby-team in repository guix. commit a82b51d0c80c2dc0f28b9c49759f2f6ae8d0de8c Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Mon Feb 17 10:39:47 2025 +0000
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 --- gnu/packages/ruby.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 778e72d0fd..ccb617b685 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12440,8 +12440,8 @@ ruby with support for changing priority using pairing heap data structure") (method git-fetch) ;; Fetch from github so tests are included. (uri (git-reference - (url "https://github.com/rubyworks/ae") - (commit version))) + (url "https://github.com/rubyworks/ae") + (commit version))) (file-name (git-file-name name version)) (sha256 (base32 @@ -12451,7 +12451,9 @@ ruby with support for changing priority using pairing heap data structure") `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ (invoke "qed"))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "qed")))) (add-before 'validate-runpath 'replace-broken-symlink (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out"))