guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: sshoot: Fix tests.


From: Marius Bakke
Subject: 02/02: gnu: sshoot: Fix tests.
Date: Mon, 19 Dec 2016 12:29:42 +0000 (UTC)

mbakke pushed a commit to branch python-tests
in repository guix.

commit c0b12a606b6af07e739b8326e032774245f38297
Author: Marius Bakke <address@hidden>
Date:   Mon Dec 19 04:13:59 2016 +0100

    gnu: sshoot: Fix tests.
    
    * gnu/packages/vpn.scm (sshoot)[arguments]: Add 'patch-paths' phase.
---
 gnu/packages/vpn.scm |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index a32ac20..9a08ad4 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]