diff options
author | Bruno Victal <mirai@makinata.eu> | 2023-10-09 21:05:50 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:42:07 +0200 |
commit | e96fa0b695689d781e36018218703ee1c6fa086b (patch) | |
tree | 783a226a4356e60d2bf58b7d5f6175a0fec2cd8e /gnu/packages/perl.scm | |
parent | 994fbc0ac6c6efcb385cbd6ef7b9073b7571ac93 (diff) | |
download | guix-e96fa0b695689d781e36018218703ee1c6fa086b.tar.gz guix-e96fa0b695689d781e36018218703ee1c6fa086b.zip |
search-paths: Add $XML_CATALOG_FILES and $SGML_CATALOG_FILES.
These variables are used by some packages for XML/SGML catalog lookups.
* guix/search-paths ($XML_CATALOG_FILES, $SGML_CATALOG_FILES): New variable,
extracted from …
* gnu/packages/xml.scm (libxml2, opensp)[native-search-paths]: … here. Refer
to the variables from (guix search-paths) respectively.
* gnu/packages/perl.scm
(perl-app-xml-docbook-builder)[native-search-paths]: Use $XML_CATALOG_FILES.
* doc/guix.texi (Search Paths): Update documentation to reflect changes.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r-- | gnu/packages/perl.scm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 816aca2d59..90bf7575ba 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -602,12 +602,7 @@ requires only 10MB of RAM.") (list perl-class-xsaccessor perl-test-trap)) (native-search-paths ;; xsltproc's search paths, to avoid propagating libxslt. - (list (search-path-specification - (variable "XML_CATALOG_FILES") - (separator " ") - (files '("xml")) - (file-pattern "^catalog\\.xml$") - (file-type 'regular)))) + (list $XML_CATALOG_FILES)) (home-page "https://www.shlomifish.org/open-source/projects/docmake/") (synopsis "Translate DocBook/XML documentation into other file formats") (description |