Skip to content

Commit

Permalink
Add hook to allow using GLib
Browse files Browse the repository at this point in the history
The environment variable `GI_TYPELIB_PATH` needs to be set, otherwise
the kiosk crashes with:

    cannot import name GLib, introspection typelib not found

This is taken care of by `wrapGAppsHook`.
  • Loading branch information
knuton committed Oct 7, 2024
1 parent f69cbbd commit 234f702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiosk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ python3Packages.buildPythonApplication rec {

doCheck = false;

nativeBuildInputs = [ qt5.wrapQtAppsHook mypy ];
nativeBuildInputs = [ qt5.wrapQtAppsHook mypy wrapGAppsHook ];

propagatedBuildInputs = with python3Packages; [
dbus-python
Expand Down

0 comments on commit 234f702

Please sign in to comment.