Patch hddtemp Nix store path

This commit is contained in:
Elnu 2023-08-26 12:30:06 -07:00
parent 185c97e30e
commit 54c63e8cf4
2 changed files with 5 additions and 5 deletions

View file

@ -63,7 +63,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut drive_temps: Vec<String> = vec![];
for drive in drives {
let output = match Command::new(&args.hddtemp_executable)
let output = match Command::new("hddtemp")
.arg("--unit=F")
.arg(&drive)
.output()
@ -137,9 +137,6 @@ struct CliArgs {
#[arg(short, long)]
config_file: PathBuf,
#[arg(short, long)]
hddtemp_executable: String,
#[arg(short, long)]
debug: bool,
}