dbus-broker: clean up

This commit is contained in:
Jan Tojnar 2018-03-22 08:47:40 +01:00
parent dd556b02ba
commit d04ab628c5
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -17,13 +17,8 @@ stdenv.mkDerivation rec {
buildInputs = [ dbus glib linuxHeaders systemd ];
enableParallelBuilding = true;
prePatch = ''
substituteInPlace meson.build \
--replace "dep_systemd.get_pkgconfig_variable('systemdsystemunitdir')" "'$out/lib/systemd/system'" \
--replace "dep_systemd.get_pkgconfig_variable('systemduserunitdir')" "'$out/lib/systemd/user'"
'';
PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system";
PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "${placeholder "out"}/lib/systemd/user";
postInstall = ''
install -Dm644 ../README $out/share/doc/dbus-broker/README
@ -32,8 +27,6 @@ stdenv.mkDerivation rec {
-e 's,^ExecReload.*busctl,ExecReload=${systemd}/bin/busctl,'
'';
checkPhase = "ninja test";
doCheck = true;
meta = with stdenv.lib; {