From 43cdb75ca3f0bac2ce1485c9936cb13e193efd01 Mon Sep 17 00:00:00 2001 From: Artturin Date: Sun, 2 Jun 2024 21:22:54 +0300 Subject: [PATCH] openrazer-daemon: Fix typelib error `ImportError: cannot import name GLib, introspection typelib not found` --- pkgs/development/python-modules/openrazer/daemon.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/openrazer/daemon.nix b/pkgs/development/python-modules/openrazer/daemon.nix index 6fafcec4a38b..05f7ee5ed48d 100644 --- a/pkgs/development/python-modules/openrazer/daemon.nix +++ b/pkgs/development/python-modules/openrazer/daemon.nix @@ -12,6 +12,7 @@ setuptools, wrapGAppsNoGuiHook, notify2, + glib }: let @@ -34,6 +35,10 @@ buildPythonPackage (common // { nativeBuildInputs = [ setuptools wrapGAppsNoGuiHook ]; + buildInputs = [ + glib + ]; + propagatedBuildInputs = [ daemonize dbus-python