From 61b77ff307b875bf198dd3d71ef64d1871d0ac6e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 2 Dec 2019 11:01:49 +0200 Subject: 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. --- gnu/packages/python-xyz.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index aef970cd88..59f712844f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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)) -- cgit v1.2.3