3
0
Fork 0
forked from mirrors/nixpkgs

gtk_doc: propagate the respect-xml-catalog-files-var.patch

We are patching the xmlcatalog calls in the JH_CHECK_XML_CATALOG
macro to use the XML_CATALOG_FILES environment variable instead
of a single central catalog file. Since consumers (libraries or
applications) are expected to copy the m4 files to their source
tree, we need to patch them separately. The files should be
identical, though, so we can reuse the patch for gtk_doc.

This commit makes the patch available in passthru so the consumer
expressions do not need to maintain the long relative path.
This commit is contained in:
Jan Tojnar 2017-12-02 04:10:47 +01:00
parent d95052a896
commit a6cd26740b
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
patches = [
./respect-xml-catalog-files-var.patch
passthru.respect_xml_catalog_files_var_patch
];
outputDevdoc = "out";
@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
configureFlags = "--disable-scrollkeeper";
passthru = {
# Consumers are expected to copy the m4 files to their source tree, let them reuse the patch
respect_xml_catalog_files_var_patch = ./respect-xml-catalog-files-var.patch;
};
meta = with stdenv.lib; {
homepage = https://www.gtk.org/gtk-doc;
description = "Tools to extract documentation embedded in GTK+ and GNOME source code";