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 @@ | ||||||
|      `(#:test-target "test" |      `(#:test-target "test" | ||||||
|        #:parallel-tests? #f |        #:parallel-tests? #f | ||||||
|        #:phases |        #:phases | ||||||
|        (alist-cons-before |        (modify-phases %standard-phases | ||||||
|         'configure 'replace-bin-sh |          (add-before 'configure 'replace-bin-sh | ||||||
|         (lambda _ |            (lambda _ | ||||||
|           (substitute* '("Makefile.in" |              (substitute* '("Makefile.in" | ||||||
|                          "ext/pty/pty.c" |                             "ext/pty/pty.c" | ||||||
|                          "io.c" |                             "io.c" | ||||||
|                          "lib/mkmf.rb" |                             "lib/mkmf.rb" | ||||||
|                          "process.c" |                             "process.c" | ||||||
|                          "test/rubygems/test_gem_ext_configure_builder.rb" |                             "test/rubygems/test_gem_ext_configure_builder.rb" | ||||||
|                          "test/rdoc/test_rdoc_parser.rb" |                             "test/rdoc/test_rdoc_parser.rb" | ||||||
|                          "test/ruby/test_rubyoptions.rb" |                             "test/ruby/test_rubyoptions.rb" | ||||||
|                          "test/ruby/test_process.rb" |                             "test/ruby/test_process.rb" | ||||||
|                          "test/ruby/test_system.rb" |                             "test/ruby/test_system.rb" | ||||||
|                          "tool/rbinstall.rb") |                             "tool/rbinstall.rb") | ||||||
|             (("/bin/sh") (which "sh")))) |                (("/bin/sh") (which "sh"))) | ||||||
|         %standard-phases))) |              #t))))) | ||||||
|     (inputs |     (inputs | ||||||
|      `(("readline" ,readline) |      `(("readline" ,readline) | ||||||
|        ("openssl" ,openssl) |        ("openssl" ,openssl) | ||||||
|  |  | ||||||
		Reference in a new issue