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
This commit is contained in:
parent
79fa5c1c45
commit
21160da284
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue