me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/ssh.scm (mosh)[arguments]: Add ‘patch-FHS-file-names’ phase.
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
1 changed files with 6 additions and 0 deletions

View File

@ -405,6 +405,12 @@ authentication scheme.")
(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