1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00

udiskie: fix getExe warning

Adding a package option to udiskie created an evaluation warning as
there is no default executable for udiskie. This replaces `pkgs.getExe`
with `pkgs.getExe'`, which removes this evaluation warning, but does
require that the package has a binary named udiskie.
This commit is contained in:
sempiternal-aurora 2025-07-30 10:29:52 +10:00 committed by Austin Horstman
parent ab14805267
commit d732b648e5

View file

@ -135,7 +135,7 @@ in
};
Service.ExecStart = toString (
[ (lib.getExe cfg.package) ]
[ (lib.getExe' cfg.package "udiskie") ]
++ lib.optional config.xsession.preferStatusNotifierItems "--appindicator"
);