Skip to content

Commit

Permalink
xfce.mousepad: allow to disable polkit
Browse files Browse the repository at this point in the history
mousepad recently accrued a `polkit` dependency.  This commit allows
to disable that dependency via `enablePolkit`, like many other
polkitized packages.
  • Loading branch information
Adam Joseph committed Jul 22, 2023
1 parent 0304200 commit 12303c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/desktops/xfce/applications/mousepad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
, gtk3
, gtksourceview4
, gspell
, enablePolkit ? true
, polkit
}:

Expand All @@ -23,7 +24,8 @@ mkXfceDerivation {
gtk3
gtksourceview4
gspell
polkit # optional polkit support
] ++ lib.optionals enablePolkit [
polkit
];

# Use the GSettings keyfile backend rather than DConf
Expand Down

0 comments on commit 12303c6

Please sign in to comment.