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"
);