~ruther/guix-local

3ba49ab322c68095556033322e1258d5aff5b76c — Sharlatan Hellseher 1 year, 5 months ago fb0a632
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
1 files changed, 5 insertions(+), 3 deletions(-)

M gnu/packages/ruby.scm
M gnu/packages/ruby.scm => gnu/packages/ruby.scm +5 -3
@@ 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"))