dbus: build manpages from xml
The `docbook_xml_dtd_44` and `docbook-xsl-nons` bits are necessary to prevent `xmlto` from trying to use the network during the build.
This commit is contained in:
parent
e991a1ea1f
commit
721402352c
@ -10,6 +10,9 @@
|
|||||||
, libSM ? null
|
, libSM ? null
|
||||||
, x11Support ? (stdenv.isLinux || stdenv.isDarwin)
|
, x11Support ? (stdenv.isLinux || stdenv.isDarwin)
|
||||||
, dbus
|
, dbus
|
||||||
|
, docbook_xml_dtd_44
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, xmlto
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert
|
assert
|
||||||
@ -43,10 +46,13 @@ stdenv.mkDerivation rec {
|
|||||||
--replace 'DBUS_DAEMONDIR"/dbus-daemon"' '"/run/current-system/sw/bin/dbus-daemon"'
|
--replace 'DBUS_DAEMONDIR"/dbus-daemon"' '"/run/current-system/sw/bin/dbus-daemon"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "dev" "lib" "doc" ];
|
outputs = [ "out" "dev" "lib" "doc" "man" ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig
|
pkgconfig
|
||||||
|
docbook_xml_dtd_44
|
||||||
|
docbook-xsl-nons
|
||||||
|
xmlto
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -63,6 +69,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-user-session"
|
"--enable-user-session"
|
||||||
|
"--enable-xml-docs"
|
||||||
"--libexecdir=${placeholder ''out''}/libexec"
|
"--libexecdir=${placeholder ''out''}/libexec"
|
||||||
"--datadir=/etc"
|
"--datadir=/etc"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
|
Loading…
Reference in New Issue
Block a user