summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index ad89a3940a..c4399c9019 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -3108,6 +3108,15 @@ cross-validation.")
(list
#:phases
#~(modify-phases %standard-phases
+ #$@(if (target-x86-32?)
+ #~((add-after 'unpack 'apply-i686-patch
+ (lambda _
+ (let ((patch-file
+ #$(local-file
+ (search-patch "python-scipy-i686.patch"))))
+ (invoke "patch" "--force" "-p1" "-i"
+ patch-file)))))
+ #~())
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?