From 3f1e7cc449ba443ea0c874be3c77b0fa32cbe660 Mon Sep 17 00:00:00 2001 From: Yelninei Date: Tue, 30 Sep 2025 17:00:29 +0000 Subject: [PATCH] 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 --- gnu/packages/xml.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index fd695d8a8a..051bac76b6 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -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)