From ec876e54f8f007f0e42e567e35ac010acc0e951f Mon Sep 17 00:00:00 2001 From: Robert James Hernandez Date: Tue, 22 Oct 2024 04:24:15 +0000 Subject: [PATCH] auto-cpufreq: getent in propagatedBuildInputs The auto-cpufreq daemon leverage getent to locate the users homedir. --- pkgs/by-name/au/auto-cpufreq/package.nix | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/au/auto-cpufreq/package.nix b/pkgs/by-name/au/auto-cpufreq/package.nix index 3a87f2ac0cbe..15db7faa4089 100644 --- a/pkgs/by-name/au/auto-cpufreq/package.nix +++ b/pkgs/by-name/au/auto-cpufreq/package.nix @@ -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" ];