mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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
This commit is contained in:
committed by
Andreas Enge
parent
56a1951da0
commit
e012430a92
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user