gnu: libxml2: Add $SGML_CATALOG_FILES to native-search-path.

According to the xmllint manpage it also makes use of the SGML_CATALOG_FILES
environment variable.

* gnu/packages/xml.scm (libxml2)[native-search-paths]: Add $SGML_CATALOG_FILES.

Co-authored-by: gemmaro <gemmaro.dev@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I7b4befe352ba10b7a4e134f0806331b63bb4f855
This commit is contained in:
Bruno Victal 2023-10-09 21:05:51 +01:00 committed by Ludovic Courtès
parent e96fa0b695
commit ed4e9eebb4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -228,7 +228,8 @@ (define-public libxml2
(inputs (list xz))
(propagated-inputs (list zlib)) ; libxml2.la says '-lz'.
(native-inputs (list perl))
(native-search-paths (list $XML_CATALOG_FILES))
(native-search-paths
(list $SGML_CATALOG_FILES $XML_CATALOG_FILES))
(search-paths native-search-paths)
(description
"Libxml2 is the XML C parser and toolkit developed for the Gnome