mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
dbus-broker: clean up
This commit is contained in:
parent
dd556b02ba
commit
d04ab628c5
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user