gnu: mosh: Prepare for cross-building.
Currently blocked by protobuf. * gnu/packages/ssh.scm (mosh)[arguments]: Use SEARCH-INPUT-FILE.
This commit is contained in:
		
							parent
							
								
									063655dbad
								
							
						
					
					
						commit
						f59bbf0a97
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -477,10 +477,10 @@ with optional @acronym{TLS, Transport-Level Security} to protect credentials.") | |||
|       #:phases | ||||
|       #~(modify-phases %standard-phases | ||||
|           (add-after 'unpack 'patch-FHS-file-names | ||||
|             (lambda _ | ||||
|             (lambda* (#:key inputs #:allow-other-keys) | ||||
|               (substitute* "scripts/mosh.pl" | ||||
|                 (("/bin/sh") | ||||
|                  (which "sh"))))) | ||||
|                 (("/bin/sh" shell) | ||||
|                  (search-input-file inputs shell))))) | ||||
|           (add-after 'install 'wrap | ||||
|             (lambda _ | ||||
|               ;; Make sure 'mosh' can find 'mosh-client' and 'mosh-server'. | ||||
|  |  | |||
		Reference in a new issue