mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: ruby: Use modify-phases.
* gnu/packages/ruby.scm (ruby)[arguments]: Use modify-phases.
This commit is contained in:
parent
761e7042f6
commit
9656b8bec5
1 changed files with 16 additions and 16 deletions
|
@ -61,22 +61,22 @@ (define-public ruby
|
|||
`(#:test-target "test"
|
||||
#:parallel-tests? #f
|
||||
#:phases
|
||||
(alist-cons-before
|
||||
'configure 'replace-bin-sh
|
||||
(lambda _
|
||||
(substitute* '("Makefile.in"
|
||||
"ext/pty/pty.c"
|
||||
"io.c"
|
||||
"lib/mkmf.rb"
|
||||
"process.c"
|
||||
"test/rubygems/test_gem_ext_configure_builder.rb"
|
||||
"test/rdoc/test_rdoc_parser.rb"
|
||||
"test/ruby/test_rubyoptions.rb"
|
||||
"test/ruby/test_process.rb"
|
||||
"test/ruby/test_system.rb"
|
||||
"tool/rbinstall.rb")
|
||||
(("/bin/sh") (which "sh"))))
|
||||
%standard-phases)))
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'replace-bin-sh
|
||||
(lambda _
|
||||
(substitute* '("Makefile.in"
|
||||
"ext/pty/pty.c"
|
||||
"io.c"
|
||||
"lib/mkmf.rb"
|
||||
"process.c"
|
||||
"test/rubygems/test_gem_ext_configure_builder.rb"
|
||||
"test/rdoc/test_rdoc_parser.rb"
|
||||
"test/ruby/test_rubyoptions.rb"
|
||||
"test/ruby/test_process.rb"
|
||||
"test/ruby/test_system.rb"
|
||||
"tool/rbinstall.rb")
|
||||
(("/bin/sh") (which "sh")))
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("readline" ,readline)
|
||||
("openssl" ,openssl)
|
||||
|
|
Loading…
Reference in a new issue