From 12303c652b881435065a98729eb7278313041e49 Mon Sep 17 00:00:00 2001 From: Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com> Date: Sat, 22 Jul 2023 13:03:31 +0000 Subject: xfce.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(-) (limited to 'pkgs/desktops/xfce') diff --git a/pkgs/desktops/xfce/applications/mousepad/default.nix b/pkgs/desktops/xfce/applications/mousepad/default.nix index d78a51660f646..47c84b036eebf 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 -- cgit 1.4.1