From c0b12a606b6af07e739b8326e032774245f38297 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 19 Dec 2016 04:13:59 +0100 Subject: gnu: sshoot: Fix tests. * gnu/packages/vpn.scm (sshoot)[arguments]: Add 'patch-paths' phase. --- gnu/packages/vpn.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/vpn.scm') diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index a32ac206ac..9a08ad4f41 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -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) -- cgit v1.2.3