From fe3e52c29154d8b8549f58dbd296ba373b7b803d Mon Sep 17 00:00:00 2001 From: oxalica Date: Mon, 25 May 2020 23:13:55 +0800 Subject: 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` --- pkgs/os-specific/linux/earlyoom/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/os-specific/linux/earlyoom/default.nix') diff --git a/pkgs/os-specific/linux/earlyoom/default.nix b/pkgs/os-specific/linux/earlyoom/default.nix index 2e0f5ef7833..8233c065c2b 100644 --- a/pkgs/os-specific/linux/earlyoom/default.nix +++ b/pkgs/os-specific/linux/earlyoom/default.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = stdenv.lib.optionals withManpage [ pandoc installShellFiles ]; + patches = [ ./fix-dbus-path.patch ]; + makeFlags = [ "VERSION=${version}" ]; installPhase = '' -- cgit 1.4.1