earlyoom: patch absolute dbus path and make nixos module up to date (#88443)

* earlyoom: patch absolute path of dbus-send

* nixos/earlyoom: replace `notificationsCommand` with `enableNotification`

* nixos/earlyoom: setup `systembus-notify` when `enableNotification`
This commit is contained in:
oxalica
2020-05-25 10:13:55 -05:00
committed by GitHub
parent f1d9510c99
commit fe3e52c291
3 changed files with 32 additions and 4 deletions
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = stdenv.lib.optionals withManpage [ pandoc installShellFiles ];
patches = [ ./fix-dbus-path.patch ];
makeFlags = [ "VERSION=${version}" ];
installPhase = ''