mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
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
|
||||
, x11Support ? (stdenv.isLinux || stdenv.isDarwin)
|
||||
, dbus
|
||||
, docbook_xml_dtd_44
|
||||
, docbook-xsl-nons
|
||||
, xmlto
|
||||
}:
|
||||
|
||||
assert
|
||||
@ -43,10 +46,13 @@ stdenv.mkDerivation rec {
|
||||
--replace 'DBUS_DAEMONDIR"/dbus-daemon"' '"/run/current-system/sw/bin/dbus-daemon"'
|
||||
'';
|
||||
|
||||
outputs = [ "out" "dev" "lib" "doc" ];
|
||||
outputs = [ "out" "dev" "lib" "doc" "man" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
docbook_xml_dtd_44
|
||||
docbook-xsl-nons
|
||||
xmlto
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -63,6 +69,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = [
|
||||
"--enable-user-session"
|
||||
"--enable-xml-docs"
|
||||
"--libexecdir=${placeholder ''out''}/libexec"
|
||||
"--datadir=/etc"
|
||||
"--localstatedir=/var"
|
||||
|
Loading…
Reference in New Issue
Block a user