nixpkgs/pkgs/desktops/xfce/core/xfce4-power-manager
Paul Stadig 6a2999310e xfce.xfce4-power-manager: use fixed path for helpers
Using a nix store path for `xfpm-power-backlight-helper` and `xfce4-pm-helper` causes permission
errors after a rebuild when adjusting brightness or putting the system to sleep, because the
permitted executables are different from the ones `xfce4-power-manager` wants to execute.  Using a
fixed path (/run/current-system/sw/bin) means the paths do not change after a rebuild, so there's no
permission error.

A similar approach is taken with gnome's `gsd-backlight-helper`.

Fixes #77485
2023-07-27 06:12:34 -04:00
..
default.nix xfce.xfce4-power-manager: use fixed path for helpers 2023-07-27 06:12:34 -04:00