diff options
| author | Dariqq <dariqq@posteo.net> | 2025-09-26 09:26:37 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-30 13:33:32 +0100 |
| commit | 5bb84e0b9793b5ce0ff682ae60b692e9d893e6ab (patch) | |
| tree | 0b2631bf67aea3fb1b8f38ab588abd602c3a9b8e /gnu/packages/python-science.scm | |
| parent | bef09e93b38c58fbcfd701020d0f93d8a00f14d8 (diff) | |
gnu: python-scipy: Fix build on i686-linux.
* gnu/packages/patches/python-scipy-i686.patch: Add patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python-science.scm (python-scipy): Add phase to apply the patch.
Fixes guix/guix#2989
Change-Id: I6c5d807bd2ed23fca6e94b28cb6927c154bde0e8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-science.scm')
| -rw-r--r-- | gnu/packages/python-science.scm | 9 |
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? |
