mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 20:10:39 +02:00
gnu: ruby-psych-3: Fix deprecated syntax.
* gnu/packages/ruby-xyz.scm (ruby-psych-3)[arguments]{phases}: Add phase 'fix-deprecated-syntax.
This commit is contained in:
parent
b0a6138ece
commit
c2f5a09e5a
1 changed files with 5 additions and 0 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue