gnu: ruby-marcel: Fix build.

* gnu/packages/rails.scm (ruby-marcel)[arguments]: Remove the byebug
dependency.
[native-inputs]: Remove ruby-byebug.
This commit is contained in:
Christopher Baines 2023-06-28 08:41:22 +01:00
parent 0ea78508fe
commit 158b3dc693
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -977,8 +977,15 @@ (define-public ruby-marcel
"1i1x24afmn09n48fj4yz2pdm6vlfnq14gism0cgxsyqmlrvsxajn")))) "1i1x24afmn09n48fj4yz2pdm6vlfnq14gism0cgxsyqmlrvsxajn"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
(list #:test-target "default" (list
#:phases #~(modify-phases %standard-phases #:test-target "default"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch
(lambda _
;; Remove byebug dependency
(substitute* "test/test_helper.rb"
(("require 'byebug'") ""))))
(add-before 'check 'disable-problematic-tests (add-before 'check 'disable-problematic-tests
(lambda _ (lambda _
(substitute* "test/mime_type_test.rb" (substitute* "test/mime_type_test.rb"
@ -988,7 +995,7 @@ (define-public ruby-marcel
(("test \"gets content type.*" all) (("test \"gets content type.*" all)
(string-append (string-append
all " skip('fails on guix')\n")))))))) all " skip('fails on guix')\n"))))))))
(native-inputs (list ruby-byebug ruby-nokogiri ruby-rack)) (native-inputs (list ruby-nokogiri ruby-rack))
(propagated-inputs (list ruby-mimemagic)) (propagated-inputs (list ruby-mimemagic))
(synopsis "MIME type detection using magic numbers, filenames and extensions") (synopsis "MIME type detection using magic numbers, filenames and extensions")
(description (description