Skip to content

Commit

Permalink
auto-cpufreq: getent in propagatedBuildInputs
Browse files Browse the repository at this point in the history
The auto-cpufreq daemon leverage getent to locate the users homedir.
  • Loading branch information
sarcasticadmin committed Oct 22, 2024
1 parent 2d88282 commit ec876e5
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions pkgs/by-name/au/auto-cpufreq/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
gobject-introspection,
wrapGAppsHook3,
gtk3,
getent,
}:
python3Packages.buildPythonPackage rec {
pname = "auto-cpufreq";
Expand All @@ -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" ];
Expand Down

0 comments on commit ec876e5

Please sign in to comment.