gnu: corkscrew: Use 'modify-phases'.
* gnu/packages/ssh.scm (corkscrew)[arguments]: Use 'modify-phases'.
This commit is contained in:
		
							parent
							
								
									0ec60d6e03
								
							
						
					
					
						commit
						91c52629e8
					
				
					 1 changed files with 16 additions and 17 deletions
				
			
		| 
						 | 
					@ -275,8 +275,8 @@ libssh library.")
 | 
				
			||||||
     ;; Replace configure phase as the ./configure script does not link
 | 
					     ;; Replace configure phase as the ./configure script does not link
 | 
				
			||||||
     ;; CONFIG_SHELL and SHELL passed as parameters
 | 
					     ;; CONFIG_SHELL and SHELL passed as parameters
 | 
				
			||||||
     '(#:phases
 | 
					     '(#:phases
 | 
				
			||||||
       (alist-replace
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
        'configure
 | 
					         (replace 'configure
 | 
				
			||||||
           (lambda* (#:key outputs inputs system build target
 | 
					           (lambda* (#:key outputs inputs system build target
 | 
				
			||||||
                           #:allow-other-keys #:rest args)
 | 
					                           #:allow-other-keys #:rest args)
 | 
				
			||||||
             (let* ((configure (assoc-ref %standard-phases 'configure))
 | 
					             (let* ((configure (assoc-ref %standard-phases 'configure))
 | 
				
			||||||
| 
						 | 
					@ -290,8 +290,7 @@ libssh library.")
 | 
				
			||||||
               (setenv "CONFIG_SHELL" bash)
 | 
					               (setenv "CONFIG_SHELL" bash)
 | 
				
			||||||
               (zero? (apply system* bash
 | 
					               (zero? (apply system* bash
 | 
				
			||||||
                             (string-append "." "/configure")
 | 
					                             (string-append "." "/configure")
 | 
				
			||||||
                          flags))))
 | 
					                             flags))))))))
 | 
				
			||||||
        %standard-phases)))
 | 
					 | 
				
			||||||
    (home-page "http://www.agroman.net/corkscrew")
 | 
					    (home-page "http://www.agroman.net/corkscrew")
 | 
				
			||||||
    (synopsis "Tunneling SSH through HTTP proxies")
 | 
					    (synopsis "Tunneling SSH through HTTP proxies")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue