gnu: python-pillow: Fix build.
* gnu/packages/python.scm (python-pillow)[check-installed]: Add installed site-package to PYTHONPATH.
This commit is contained in:
parent
5e1c9d242a
commit
6151120a71
|
@ -3991,9 +3991,12 @@ services for your Python modules and applications.")
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
(add-after
|
(add-after
|
||||||
'install 'check-installed
|
'install 'check-installed
|
||||||
(lambda _
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
||||||
(begin
|
(begin
|
||||||
(setenv "HOME" (getcwd))
|
(setenv "HOME" (getcwd))
|
||||||
|
;; Make installed package available for running the
|
||||||
|
;; tests
|
||||||
|
(add-installed-pythonpath inputs outputs)
|
||||||
(and (zero? (system* "python" "selftest.py"
|
(and (zero? (system* "python" "selftest.py"
|
||||||
"--installed"))
|
"--installed"))
|
||||||
(zero? (system* "python" "test-installed.py"))))))
|
(zero? (system* "python" "test-installed.py"))))))
|
||||||
|
|
Loading…
Reference in New Issue