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,8 +61,8 @@ | ||||||
|      `(#: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" | ||||||
|  | @ -75,8 +75,8 @@ | ||||||
|                             "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