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:
parent
030420030d
commit
12303c652b
@ -5,6 +5,7 @@
|
|||||||
, gtk3
|
, gtk3
|
||||||
, gtksourceview4
|
, gtksourceview4
|
||||||
, gspell
|
, gspell
|
||||||
|
, enablePolkit ? true
|
||||||
, polkit
|
, polkit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -23,7 +24,8 @@ mkXfceDerivation {
|
|||||||
gtk3
|
gtk3
|
||||||
gtksourceview4
|
gtksourceview4
|
||||||
gspell
|
gspell
|
||||||
polkit # optional polkit support
|
] ++ lib.optionals enablePolkit [
|
||||||
|
polkit
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the GSettings keyfile backend rather than DConf
|
# Use the GSettings keyfile backend rather than DConf
|
||||||
|
Loading…
Reference in New Issue
Block a user