dbus: use /etc as datadir, install dtd
This commit is contained in:
parent
7832806e20
commit
300c9a6c3d
|
@ -50,7 +50,8 @@ self = stdenv.mkDerivation {
|
||||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||||
"--with-systemduserunitdir=$(out)/etc/systemd/user"
|
"--with-systemduserunitdir=$(out)/etc/systemd/user"
|
||||||
"--enable-user-session"
|
"--enable-user-session"
|
||||||
"--libexecdir=$(out)/libexec" # we don't need dbus-daemon-launch-helper
|
"--datadir=/etc"
|
||||||
|
"--libexecdir=$(out)/libexec"
|
||||||
] ++ lib.optional (!x11Support) "--without-x";
|
] ++ lib.optional (!x11Support) "--without-x";
|
||||||
|
|
||||||
# Enable X11 autolaunch support in libdbus. This doesn't actually depend on X11
|
# Enable X11 autolaunch support in libdbus. This doesn't actually depend on X11
|
||||||
|
@ -63,7 +64,12 @@ self = stdenv.mkDerivation {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
installFlags = [ "sysconfdir=$(out)/etc" ];
|
installFlags = [ "sysconfdir=$(out)/etc" "datadir=$(out)/share" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $doc/share/xml/dbus
|
||||||
|
cp doc/*.dtd $doc/share/xml/dbus
|
||||||
|
'';
|
||||||
|
|
||||||
# it's executed from $lib by absolute path
|
# it's executed from $lib by absolute path
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
|
|
Loading…
Reference in New Issue