Add more python package dependencies for qtile

Qtile cannot connect to dbus and cause applications to freeze when they attempt to send notifications.
For example, slack will completely freeze when a new message comes in after it attempts to send a notification.

This is caused by an inability to import dbus and pygobject3 as evidenced by this error in the logs
`WARNING libqtile manager.py:setup_eventloop():L240 importing dbus/gobject failed, dbus will not work.`

Also added the python packages dependencies mentioned here:
https://github.com/NixOS/nixpkgs/issues/45039
https://github.com/DavHau/mach-nix/issues/125
This commit is contained in:
Nate Faber 2020-10-04 10:46:12 +02:00 committed by GitHub
parent 9544c6078e
commit 89e211f1fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,7 +34,18 @@ python37Packages.buildPythonApplication rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libxcb cairo pango python37Packages.xcffib ];
pythonPath = with python37Packages; [ xcffib cairocffi-xcffib setuptools setuptools_scm ];
pythonPath = with python37Packages; [
xcffib
cairocffi-xcffib
setuptools
setuptools_scm
dateutil
dbus-python
mpd2
psutil
pyxdg
pygobject3
];
postInstall = ''
wrapProgram $out/bin/qtile \