guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 67b9caf22e394ada9128a76b7028f5fbf41f74e8
Author: gemmaro <[email protected]>
AuthorDate: Sat Nov 7 07:26:42 2026 +0900

    gnu: ruby-rails-dom-testing: Fix build.
    
    * gnu/packages/rails.scm (ruby-rails-dom-testing)[arguments]<#:phases>
    {disable-failing-tests}: New phase.
---
 gnu/packages/rails.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 318f163e484..b4227aeac4e 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -510,7 +510,17 @@ directly.")
       #~(modify-phases %standard-phases
           (add-after 'unpack 'delete-gemfile.lock
             (lambda _
-              (delete-file "Gemfile.lock"))))))
+              (delete-file "Gemfile.lock")))
+          ;; Some cases are incompatible with newer Nokogiri gem.
+          (add-before 'check 'disable-failing-tests
+            (lambda _
+              (substitute* "test/selector_assertions_test.rb"
+                (("def test_substitution_values\n" def)
+                 (string-append def ";skip\n"))
+                (("def test_multiple_substitution_values\n" def)
+                 (string-append def ";skip\n"))
+                (("def test_nested_css_select\n" def)
+                 (string-append def ";skip\n"))))))))
    (native-inputs
     (list bundler))
    (propagated-inputs

Reply via email to