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.
This commit is contained in:
Adam Joseph 2023-07-22 13:03:31 +00:00 committed by GitHub
parent 030420030d
commit 12303c652b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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