diff options
author | Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com> | 2023-07-22 13:03:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 21:03:31 +0800 |
commit | 12303c652b881435065a98729eb7278313041e49 (patch) | |
tree | 37999257b661b7b84a0da117ff5b2ed1aa092bee /pkgs/desktops/xfce | |
parent | 030420030dcd00238420e628d39ab96fcbc12213 (diff) |
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.
Diffstat (limited to 'pkgs/desktops/xfce')
-rw-r--r-- | pkgs/desktops/xfce/applications/mousepad/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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 |