gnu: sshoot: Fix tests.

* gnu/packages/vpn.scm (sshoot)[arguments]: Add 'patch-paths' phase.
master
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
1 changed files with 8 additions and 0 deletions

View File

@ -247,6 +247,14 @@ DNS domain name queries.")
(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)