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