apt: Rely on XML_CATALOG_FILES variable
This commit is contained in:
parent
757c43fd99
commit
c3c844a0f5
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
cmake perl curl gtest lzma bzip2 lz4 db dpkg libxslt.bin
|
||||
] ++ lib.optionals withDocs [
|
||||
doxygen Po4a w3m
|
||||
doxygen Po4a w3m docbook_xml_dtd_45
|
||||
] ++ lib.optionals withNLS [
|
||||
gettext
|
||||
];
|
||||
@ -44,15 +44,6 @@ stdenv.mkDerivation rec {
|
||||
-DWITH_DOC=${if withDocs then "ON" else "OFF"}
|
||||
-DUSE_NLS=${if withNLS then "ON" else "OFF"}
|
||||
)
|
||||
|
||||
for f in doc/*; do
|
||||
if [[ -f "$f" ]]; then
|
||||
substituteInPlace "$f" \
|
||||
--replace \
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \
|
||||
"${docbook_xml_dtd_45}/xml/dtd/docbook/docbookx.dtd"
|
||||
fi
|
||||
done
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user