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))