auto-cpufreq: getent in propagatedBuildInputs

The auto-cpufreq daemon leverage getent to locate the users homedir.
This commit is contained in:
Robert James Hernandez 2024-10-22 04:24:15 +00:00
parent 2d88282897
commit ec876e54f8

View File

@ -6,6 +6,7 @@
gobject-introspection, gobject-introspection,
wrapGAppsHook3, wrapGAppsHook3,
gtk3, gtk3,
getent,
}: }:
python3Packages.buildPythonPackage rec { python3Packages.buildPythonPackage rec {
pname = "auto-cpufreq"; pname = "auto-cpufreq";
@ -29,15 +30,18 @@ python3Packages.buildPythonPackage rec {
python3Packages.poetry-core python3Packages.poetry-core
]; ];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs =
click with python3Packages;
distro [
psutil click
pygobject3 distro
poetry-dynamic-versioning psutil
setuptools pygobject3
pyinotify poetry-dynamic-versioning
]; setuptools
pyinotify
]
++ [ getent ];
doCheck = false; doCheck = false;
pythonImportsCheck = [ "auto_cpufreq" ]; pythonImportsCheck = [ "auto_cpufreq" ];