1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: libxml2: Fix cross compiling

Also add a comment to remove inputs for deprecated and removed functionality.

* gnu/packages/xml.scm (libxml2)[inputs]: Add python-minimal.

Change-Id: I1bdff4808b92bf5001e9f19bea46ef2e32b73a87
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
Yelninei
2025-09-30 17:00:29 +00:00
committed by Maxim Cournoyer
parent 8f65343876
commit 3f1e7cc449

View File

@@ -249,7 +249,9 @@ hierarchical form with variable field lengths.")
(("^old_library='libxml2.a'") "old_library=''"))))))))
(home-page "http://www.xmlsoft.org/")
(synopsis "C parser for XML")
(inputs (list xz))
;; TODO: Remove python, xz and zlib when upgrading.
;; See https://codeberg.org/guix/guix/pulls/3161#issuecomment-7521193
(inputs (list python-minimal xz))
(propagated-inputs (list zlib)) ; libxml2.la says '-lz'.
(native-inputs (append (if (target-loongarch64?)
(list config)