gnu: ruby-rubocop: Don't ask to run tests when cross-compiling.

* gnu/packages/ruby.scm
(ruby-rubocop)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Maxime Devos 2022-08-28 16:47:46 +02:00 committed by Mathieu Othacehe
parent d720aa4a88
commit d8b960983d
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -7211,7 +7211,8 @@ (define-public ruby-rubocop
(arguments
`(#:test-target "default"
;; TODO: Figure out why test hangs.
#:tests? ,(not (target-riscv64?))
#:tests? ,(not (or (%current-target-system)
(target-riscv64?)))
#:phases
(modify-phases %standard-phases
(add-before 'check 'set-home