gnu: python-elementpath: Use libc-utf-8-locales.

* gnu/packages/xml.scm (python-elementpath):
[phases]{set-locales phase}: Remove phase.
[native-inputs]: Replace glibc-locales with
libc-utf8-locales-for-target.

Merges: https://codeberg.org/guix/guix/pulls/7189
Change-Id: Id89952c65ff644e5fb51dd7c0e0bf6c4791e4e3f
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Yelninei
2026-03-15 14:53:50 +00:00
committed by Andreas Enge
parent 6f40be4b67
commit 57bdd2eeb2

View File

@@ -1940,16 +1940,9 @@ The central program included in this package is @code{onsgmls}, which replaces
(build-system pyproject-build-system)
(arguments
(list
#:test-backend #~'unittest
#:phases
#~(modify-phases %standard-phases
;; 10 tests fail with: locale.Error: unsupported locale setting.
(add-before 'check 'set-locales
(lambda* (#:key inputs #:allow-other-keys)
(setenv "GUIX_LOCPATH"
(search-input-directory inputs "lib/locale")))))))
#:test-backend #~'unittest))
(native-inputs
(list glibc-locales
(list (libc-utf8-locales-for-target (%current-system))
python-setuptools
python-lxml
python-xmlschema-bootstrap))