gnu: sshoot: Fix tests.

* gnu/packages/vpn.scm (sshoot)[arguments]: Add 'patch-paths' phase.
This commit is contained in:
Marius Bakke 2016-12-19 04:13:59 +01:00
parent 1c1b67a3c9
commit c0b12a606b
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -247,6 +247,14 @@ (define-public sshoot
(base32
"0a92lk8790dpp9j64vb6p4sazax0x3nby01lnfll7mxs1hx6n27q"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-paths
(lambda _
(substitute* "sshoot/tests/test_manager.py"
(("/bin/sh") (which "sh")))
#t)))))
(inputs
`(("python-argcomplete" ,python-argcomplete)
("python-prettytable" ,python-prettytable)