~ruther/guix-local

60f89a2fe4e2de08838a4f923e89aea123a0a3c0 — Artyom V. Poptsov 1 year, 4 months ago dcc63db
gnu: python-face: Fix build.

* gnu/packages/python-xyz.scm (python-face): Fix build.
[arguments] <#:phases>: Run the tests using the full path to the Python binary
from the inputs to fix a failing test.

Change-Id: Ie8951d622f91381207498e9adc398aa92b309cdf
1 files changed, 4 insertions(+), 1 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +4 -1
@@ 36562,7 36562,10 @@ into a human readable HTML table representation.")
             (when tests?
               ;; Make installed package available for running the tests.
               (add-installed-pythonpath inputs outputs)
               (invoke "pytest" "-v")))))))
               ;; We must provide the full path to the Python binary
               ;; otherwise "test_search_prs_basic" test fails.
               (invoke (search-input-file inputs "/bin/python")
                       "-m" "pytest" "-v")))))))
    (native-inputs
     (list python-pytest))
    (propagated-inputs