diff options
author | Nate Faber <nathaniel@njfaber.com> | 2020-10-04 10:46:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 10:46:12 +0200 |
commit | 89e211f1fad38e64f63824d9aea99436029efbdb (patch) | |
tree | 7868dbeec4fff9b1752dea79907b5a752b7e730f /pkgs/applications/window-managers | |
parent | 9544c6078e12aacaf17abc9a13e740658b17e747 (diff) |
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
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r-- | pkgs/applications/window-managers/qtile/default.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/applications/window-managers/qtile/default.nix b/pkgs/applications/window-managers/qtile/default.nix index eccf5c163a8e..047bc9f05993 100644 --- a/pkgs/applications/window-managers/qtile/default.nix +++ b/pkgs/applications/window-managers/qtile/default.nix @@ -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 \ |