mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
fb0a632fc8
commit
3ba49ab322
1 changed files with 5 additions and 3 deletions
|
@ -12446,8 +12446,8 @@ ruby with support for changing priority using pairing heap data structure")
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
;; Fetch from github so tests are included.
|
;; Fetch from github so tests are included.
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/rubyworks/ae")
|
(url "https://github.com/rubyworks/ae")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
|
@ -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"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue