teleshoes / tpacpi-bat

ThinkPad ACPI Battery Util
GNU General Public License v3.0
432 stars 47 forks source link

nixos pkgs.tpacpi-bat doesn't install acpi_call #110

Closed markifi closed 7 months ago

markifi commented 10 months ago

[user@nixos:~]$ tpacpi-bat -s ST 1 86modprobe: FATAL: Module acpi_call not found in directory /run/booted-system/kernel-modules/lib/modules/6.1.45 Could not find /proc/acpi/call. Is module acpi_call loaded?

shouldn't it install that too? especially as acpi_call by itself is not in nixpkgs

HoseanRC commented 7 months ago

you have to install acpi_call (or acpi_call-dkms if you use a kernel other than linux such as linux-zen) through your package manager if you have debian based distro, do sudo apt install acpi_call if you have arch based distro, do sudo pacman -S acpi_call or yay -S acpi_call if you use yet another yogurt and so on...

teleshoes commented 7 months ago

thanks. yea, dependency/package-management issues are a little out of scope for this repo (which is really just a perl script). good luck!