Archived
1
0
Fork 0

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:
Tobias Geerinckx-Rice 2023-10-15 02:00:00 +02:00
parent 063655dbad
commit f59bbf0a97
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -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'.