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
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-FHS-file-names
|
(add-after 'unpack 'patch-FHS-file-names
|
||||||
(lambda _
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "scripts/mosh.pl"
|
(substitute* "scripts/mosh.pl"
|
||||||
(("/bin/sh")
|
(("/bin/sh" shell)
|
||||||
(which "sh")))))
|
(search-input-file inputs shell)))))
|
||||||
(add-after 'install 'wrap
|
(add-after 'install 'wrap
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Make sure 'mosh' can find 'mosh-client' and 'mosh-server'.
|
;; Make sure 'mosh' can find 'mosh-client' and 'mosh-server'.
|
||||||
|
|
Reference in a new issue