me
/
guix
Archived
1
0
Fork 0

gnu: python-pillow: Replace check phase.

* gnu/packages/python-xyz.scm (python-pillow)[arguments]: Since 'check
always come after 'install, replace 'check phase rather than recreate it.
master
Efraim Flashner 2019-12-02 11:01:49 +02:00
parent c2b2c8e9e7
commit 61b77ff307
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 1 additions and 2 deletions

View File

@ -4705,8 +4705,7 @@ the OleFileIO module from PIL, the Python Image Library.")
(lambda _
(substitute* "setup.py"
(("\\['/sbin/ldconfig', '-p'\\]") "['true']"))))
(delete 'check) ; We must run checks after python-pillow is installed.
(add-after 'install 'check-installed
(replace 'check
(lambda* (#:key outputs inputs #:allow-other-keys)
(begin
(setenv "HOME" (getcwd))