diff options
| author | Yelninei <yelninei@tutamail.com> | 2026-03-15 14:53:50 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-24 10:14:29 +0100 |
| commit | 10feffdf4ac455b8bc0229bde20ec25d27c7a2f4 (patch) | |
| tree | 9add143f8dc78f6d24db2937421f256f0f2e9416 /gnu/packages/xml.scm | |
| parent | dcf83b452e882f7626190ca5e5d63e056476e0c2 (diff) | |
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>
Diffstat (limited to 'gnu/packages/xml.scm')
| -rw-r--r-- | gnu/packages/xml.scm | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 1dab9ea715f..6a9f76fd2c9 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm | |||
| @@ -1940,16 +1940,9 @@ The central program included in this package is @code{onsgmls}, which replaces | |||
| 1940 | (build-system pyproject-build-system) | 1940 | (build-system pyproject-build-system) |
| 1941 | (arguments | 1941 | (arguments |
| 1942 | (list | 1942 | (list |
| 1943 | #:test-backend #~'unittest | 1943 | #:test-backend #~'unittest)) |
| 1944 | #:phases | ||
| 1945 | #~(modify-phases %standard-phases | ||
| 1946 | ;; 10 tests fail with: locale.Error: unsupported locale setting. | ||
| 1947 | (add-before 'check 'set-locales | ||
| 1948 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 1949 | (setenv "GUIX_LOCPATH" | ||
| 1950 | (search-input-directory inputs "lib/locale"))))))) | ||
| 1951 | (native-inputs | 1944 | (native-inputs |
| 1952 | (list glibc-locales | 1945 | (list (libc-utf8-locales-for-target (%current-system)) |
| 1953 | python-setuptools | 1946 | python-setuptools |
| 1954 | python-lxml | 1947 | python-lxml |
| 1955 | python-xmlschema-bootstrap)) | 1948 | python-xmlschema-bootstrap)) |
