mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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
|
(list
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-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
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue