me
/
guix
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.
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
1 changed files with 3 additions and 3 deletions

View File

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