gnu: sshuttle: Rely on $PATH to find a POSIX sh.
This fixes a regression introduced in commit
c32863e094
, where the sshuttle client
will try to invoke its own /gnu/store/.../bin/sh on the server.
Rely on $PATH instead of regressing to upstream's hard-coded /bin/sh.
* gnu/packages/vpn.scm (sshuttle)[arguments]: SUBSTITUTE* "sh" for
"/bin/sh".
This commit is contained in:
parent
f2bc53af70
commit
0e2d3ce20e
1 changed files with 1 additions and 2 deletions
|
@ -355,8 +355,7 @@ (define-public sshuttle
|
||||||
(substitute* "sshuttle/client.py"
|
(substitute* "sshuttle/client.py"
|
||||||
(("/usr/bin/env") (which "env")))
|
(("/usr/bin/env") (which "env")))
|
||||||
(substitute* "sshuttle/ssh.py"
|
(substitute* "sshuttle/ssh.py"
|
||||||
;; Perhaps this is unreachable, but don't let's take risks.
|
(("/bin/sh") "sh"))
|
||||||
(("/bin/sh") (which "sh")))
|
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-setuptools-scm" ,python-setuptools-scm)
|
`(("python-setuptools-scm" ,python-setuptools-scm)
|
||||||
|
|
Loading…
Reference in a new issue