gnu: mosh: Remove ‘/bin/sh’ dependency.
* gnu/packages/ssh.scm (mosh)[arguments]: Add ‘patch-FHS-file-names’ phase.
parent
8dca40a3de
commit
2b504cc3d1
|
@ -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
|
||||
|
|
Reference in New Issue