diff options
author | Liliana Marie Prikler <[email protected]> | 2023-10-23 21:09:49 +0200 |
---|---|---|
committer | Liliana Marie Prikler <[email protected]> | 2023-10-23 21:09:49 +0200 |
commit | e38d6a9c2fba815ac34e74baa843f15e33846813 (patch) | |
tree | 0a3dd602449386119fc15de32a5cf7e5f607b2a1 /gnu/packages/ssh.scm | |
parent | da716c8b9cdc358609a368bd5da70b31cd97a938 (diff) | |
parent | cbd20d627497053871db863970c07d93c7081786 (diff) |
Merge branch 'master' into gnome-team
Change-Id: Ib6f55bebef2fb235fa59fd5442102a3e0ace3191
Diffstat (limited to 'gnu/packages/ssh.scm')
-rw-r--r-- | gnu/packages/ssh.scm | 44 |
1 files changed, 21 insertions, 23 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 3a5d5ef59b..2434a563c2 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -473,32 +473,30 @@ with optional @acronym{TLS, Transport-Level Security} to protect credentials.") "1pax8sqlvcc7ammsxd9r53yx4m2hg1827wfz6f4rrwjx9q9lnbl7")))) (build-system gnu-build-system) (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 - ;; 'mosh-server'. - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (wrap-program (string-append bin "/mosh") - `("PATH" ":" prefix (,bin))))))))) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-FHS-file-names + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "scripts/mosh.pl" + (("/bin/sh" shell) + (search-input-file inputs shell))))) + (add-after 'install 'wrap + (lambda _ + ;; Make sure 'mosh' can find 'mosh-client' and 'mosh-server'. + (let ((bin (string-append #$output "/bin"))) + (wrap-program (string-append bin "/mosh") + `("PATH" ":" prefix (,bin))))))))) (native-inputs (list pkg-config)) (inputs - `(("openssl" ,openssl) - ("perl" ,perl) - ("perl-io-tty" ,perl-io-tty) - ("zlib" ,zlib) - ("ncurses" ,ncurses) - ("protobuf" ,protobuf) - ("boost-headers" ,boost))) + (list boost + ncurses + openssl + perl + perl-io-tty + protobuf + zlib)) (home-page "https://mosh.org/") (synopsis "Remote shell tolerant to intermittent connectivity") (description |