From 21160da284c235adb6c5d3c0f76aa0e2de6b292b Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Mon, 18 Jan 2021 12:21:24 -0700 Subject: [PATCH] python3Packages.py3status: add file as runtime dependancy (#106926) This helps to resolve issues: - https://github.com/ultrabug/py3status/issues/1945 - https://github.com/ultrabug/py3status/issues/1961 --- pkgs/development/python-modules/py3status/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/py3status/default.nix b/pkgs/development/python-modules/py3status/default.nix index a2aeaceef6dd..71314a08eebc 100644 --- a/pkgs/development/python-modules/py3status/default.nix +++ b/pkgs/development/python-modules/py3status/default.nix @@ -33,9 +33,8 @@ buildPythonPackage rec { doCheck = false; propagatedBuildInputs = [ - pytz requests tzlocal i3ipc pydbus pygobject3 pyserial setuptools dbus-python + pytz requests tzlocal i3ipc pydbus pygobject3 pyserial setuptools dbus-python file ]; - buildInputs = [ file ]; prePatch = '' sed -i -e "s|'file|'${file}/bin/file|" py3status/parse_config.py sed -i -e "s|\[\"acpi\"|\[\"${acpi}/bin/acpi\"|" py3status/modules/battery_level.py