mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
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
@ -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 New Issue
Block a user