mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
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.
This commit is contained in:
parent
c2b2c8e9e7
commit
61b77ff307
1 changed files with 1 additions and 2 deletions
|
@ -4705,8 +4705,7 @@ (define-public python-pillow
|
|||
(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))
|
||||
|
|
Loading…
Reference in a new issue