summary refs log tree commit diff
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-10-09 21:05:51 +0100
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:42:07 +0200
commited4e9eebb420d0d96777971b474d42b65a0531a1 (patch)
treef2c68e79e20d7bb8533120cd1f16985caa61ed58
parente96fa0b695689d781e36018218703ee1c6fa086b (diff)
downloadguix-ed4e9eebb420d0d96777971b474d42b65a0531a1.tar.gz
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
-rw-r--r--gnu/packages/xml.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index dc7cde8c59..3e7a14616f 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -228,7 +228,8 @@ hierarchical form with variable field lengths.")
     (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