From 0bab5fc2174e4dc553746fd0e53c160c8b1771fc Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Thu, 1 Jun 2023 02:42:24 -0700 Subject: [PATCH] mousepad: allow to disable polkit mousepad recently accrued a `polkit` dependency. This commit allows to disable that dependency via `enablePolkit`, like many other polkitized packages. --- pkgs/desktops/xfce/applications/mousepad/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/xfce/applications/mousepad/default.nix b/pkgs/desktops/xfce/applications/mousepad/default.nix index d78a51660f64669..47c84b036eebf91 100644 --- a/pkgs/desktops/xfce/applications/mousepad/default.nix +++ b/pkgs/desktops/xfce/applications/mousepad/default.nix @@ -5,6 +5,7 @@ , gtk3 , gtksourceview4 , gspell +, enablePolkit ? true , polkit }: @@ -23,7 +24,8 @@ mkXfceDerivation { gtk3 gtksourceview4 gspell - polkit # optional polkit support + ] ++ lib.optionals enablePolkit [ + polkit ]; # Use the GSettings keyfile backend rather than DConf