eaa4db148d
xsltproc from downloading DTDs from the network, which is impure. This caused a lot of problems with Gnome builds in the build farm, because those downloads are slow and would sometimes fail. The setup hook also sets up $XML_CATALOG_FILES. svn path=/nixpkgs/trunk/; revision=9471
13 lines
420 B
Nix
13 lines
420 B
Nix
{ input, stdenv, fetchurl, pkgconfig, perl, perlXMLParser
|
|
, libxml2, libxslt, docbook_xml_dtd_42
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
inherit (input) name src;
|
|
preConfigure = "
|
|
substituteInPlace extract/dtds/Makefile.am --replace /usr/bin/xmlcatalog xmlcatalog
|
|
";
|
|
buildInputs = [pkgconfig perl perlXMLParser libxml2 libxslt];
|
|
configureFlags = "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/docbook.cat";
|
|
}
|