~ruther/guix-local

3f1e7cc449ba443ea0c874be3c77b0fa32cbe660 — Yelninei 5 months ago 8f65343
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>
1 files changed, 3 insertions(+), 1 deletions(-)

M gnu/packages/xml.scm
M gnu/packages/xml.scm => gnu/packages/xml.scm +3 -1
@@ 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)