gnu: mosh: Remove ‘/bin/sh’ dependency.

* gnu/packages/ssh.scm (mosh)[arguments]: Add ‘patch-FHS-file-names’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2020-07-03 20:33:44 +02:00
parent 8dca40a3de
commit 2b504cc3d1
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -405,6 +405,12 @@ (define-public mosh
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-FHS-file-names
(lambda _
(substitute* "scripts/mosh.pl"
(("/bin/sh")
(which "sh")))
#t))
(add-after 'install 'wrap
(lambda* (#:key outputs #:allow-other-keys)
;; Make sure 'mosh' can find 'mosh-client' and