mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
fancontrol: fix path by using lib.getExe'
This commit is contained in:
parent
a910ca0ea5
commit
cc39de3db2
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ in
|
|||
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
ExecStart = "${pkgs.lm_sensors}/sbin/fancontrol ${configFile}";
|
||||
ExecStart = "${lib.getExe' pkgs.lm_sensors "fancontrol"} ${configFile}";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue