diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d2bbb069b17..878a1f755e0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11140,7 +11140,16 @@ include_dirs = ~:*~a/include~%" " and not test_square_values" " and not test_sum" " and not test_switch_owner" - " and not test_thread_locality")))))))) + " and not test_thread_locality"))))) + ;; See comment for custom python-numpy wrap phase above. + (replace 'wrap + (lambda* (#:key inputs outputs #:allow-other-keys) + (for-each + (lambda (program) + (wrap-program program + `("GUIX_PYTHONPATH" ":" suffix + ,(list (site-packages inputs outputs))))) + (find-files (in-vicinity #$output "/bin")))))))) (native-inputs (list meson-python pkg-config