diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-17 10:39:47 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-06-20 20:40:01 +0200 |
| commit | 3ba49ab322c68095556033322e1258d5aff5b76c (patch) | |
| tree | a0a996667a07a56ed39677d7ebf164644f98f153 /gnu/packages/ruby.scm | |
| parent | fb0a632fc87d008d5d3ec086ea89a639263b770e (diff) | |
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
Diffstat (limited to 'gnu/packages/ruby.scm')
| -rw-r--r-- | gnu/packages/ruby.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 98267e1801c..341c6ef1a65 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12446,8 +12446,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 @@ -12457,7 +12457,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")) |
