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:
parent
ab14805267
commit
d732b648e5
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ in
|
|||
};
|
||||
|
||||
Service.ExecStart = toString (
|
||||
[ (lib.getExe cfg.package) ]
|
||||
[ (lib.getExe' cfg.package "udiskie") ]
|
||||
++ lib.optional config.xsession.preferStatusNotifierItems "--appindicator"
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue