diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index b96daad0ff..e0dca646ac 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2022 Taiju HIGASHI ;;; Copyright © 2023 Yovan Naumovski ;;; Copyright © 2023 gemmaro +;;; Copyright © 2023 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -195,7 +196,13 @@ (define-public ruby-2.7 "test/ruby/test_system.rb" "tool/rbinstall.rb") (("/bin/sh") (which "sh"))) - #t))))) + #t)) + ,@(if (system-hurd?) + '((add-after 'unpack 'skip-tests + (lambda _ + (delete-file "bootstraptest/test_io.rb") + (delete-file "test/ruby/test_io.rb")))) + '())))) (native-inputs (list autoconf))))