guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 2e0a4215d0409eafe07e51a1301ede2716a95bde
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Feb 5 12:03:43 2026 +0000
gnu: python-argostranslate: Fix build.
* gnu/packages/machine-learning.scm (python-argostranslate)
[phases]{writable-home}: Remove phase.
{set-home-env}: New phase, located before {build}.
Relates-to: guix/guix#5892
Change-Id: I04fdb2fa6793d3e3e1da906612f4b650238f2b1d
---
gnu/packages/machine-learning.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index f70da736a8..89cc217c59 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -6232,9 +6232,8 @@ It includes a sentence boundary component of a relatively
small size.")
(list
#:phases
#~(modify-phases %standard-phases
- (add-before 'check 'writable-home
+ (add-before 'build 'set-home-env
(lambda _
- ;; Tests want a writable home
(setenv "HOME" "/tmp"))))))
(build-system pyproject-build-system)
(native-inputs (list python-pytest python-setuptools))