guix_mirror_bot pushed a commit to branch ruby-team in repository guix. commit 37850f689753b2b24c6c387b34a3ba97c4f73584 Author: Nicolas Graves <ngra...@ngraves.fr> AuthorDate: Wed Jun 18 16:27:18 2025 +0200
gnu: ruby-psych-3: Fix deprecated syntax. * gnu/packages/ruby-xyz.scm (ruby-psych-3)[arguments]{phases}: Add phase 'fix-deprecated-syntax. --- gnu/packages/ruby-xyz.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm index 430f386c24..3923cfdcea 100644 --- a/gnu/packages/ruby-xyz.scm +++ b/gnu/packages/ruby-xyz.scm @@ -7310,6 +7310,11 @@ from the YAML format.") (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-deprecated-syntax + (lambda _ + (substitute* "test/psych/test_yaml.rb" + (("Regexp\\.new\\('',0,'n'\\)") + "Regexp.new('',Regexp::NOENCODING)")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests?