diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index ea42e72de2..38b98f1c5b 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -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