[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: gnu: mosh: Remove ‘/bin/sh’ dependency.
From: |
guix-commits |
Subject: |
02/05: gnu: mosh: Remove ‘/bin/sh’ dependency. |
Date: |
Sun, 5 Jul 2020 01:04:28 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 2b504cc3d1977eacc28ed8a706d6f6606f01d801
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Fri Jul 3 20:33:44 2020 +0200
gnu: mosh: Remove ‘/bin/sh’ dependency.
* gnu/packages/ssh.scm (mosh)[arguments]: Add ‘patch-FHS-file-names’ phase.
---
gnu/packages/ssh.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index ea42e72..38b98f1 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