diff --git a/pkgs/os-specific/linux/dbus-broker/default.nix b/pkgs/os-specific/linux/dbus-broker/default.nix index 3dd63cf02e49..7caf5e359d03 100644 --- a/pkgs/os-specific/linux/dbus-broker/default.nix +++ b/pkgs/os-specific/linux/dbus-broker/default.nix @@ -22,19 +22,11 @@ stdenv.mkDerivation rec { --replace "dep_systemd.get_pkgconfig_variable('systemduserunitdir')" "'$out/lib/systemd/user'" ''; - preConfigure = '' - mkdir build - meson --prefix "$out" --buildtype=release build/ + postInstall = '' + install -Dm644 ../README $out/share/doc/dbus-broker/README ''; - buildPhase = "ninja -C build"; - - installPhase = '' - ninja -C build install - install -Dm644 README $out/share/doc/dbus-broker/README - ''; - - checkPhase = "ninja -C build test"; + checkPhase = "ninja test"; doCheck = true;