diff options
author | Joris | 2021-10-31 22:14:58 +0100 |
---|---|---|
committer | Joris | 2021-10-31 22:14:58 +0100 |
commit | 85aecfd924bea17aa2e4fbdf2ad1a06f6ef02de3 (patch) | |
tree | 5974665ddc0f84b9d244d75efabbf99e41253747 | |
parent | a54b7776320ef5aa02e6ef7378c2a011dc454885 (diff) |
Support wayland
-rw-r--r-- | default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/default.nix b/default.nix index d040783..254a393 100644 --- a/default.nix +++ b/default.nix @@ -12,7 +12,7 @@ python38Packages.buildPythonApplication rec { src = ./.; buildInputs = [ - qt5.qtbase + qt5.qtwayland sqlite ]; @@ -22,13 +22,13 @@ python38Packages.buildPythonApplication rec { ]; makeWrapperArgs = [ - "--set QT_QPA_PLATFORM_PLUGIN_PATH ${qt5.qtbase.bin}/lib/qt-*/plugins/platforms" - "--set QT_PLUGIN_PATH ${qt5.qtbase.bin}/lib/qt-*/plugins" + "--set QT_QPA_PLATFORM_PLUGIN_PATH ${qt5.qtwayland.bin}/lib/qt-*/plugins/platforms" + "--set QT_PLUGIN_PATH ${qt5.qtwayland.bin}/lib/qt-*/plugins" ]; shellHook = '' - export QT_QPA_PLATFORM_PLUGIN_PATH="$(echo ${qt5.qtbase.bin}/lib/qt-*/plugins/platforms)" - export QT_PLUGIN_PATH="$(echo ${qt5.qtbase.bin}/lib/qt-*/plugins)" + export QT_QPA_PLATFORM_PLUGIN_PATH="$(echo ${qt5.qtwayland.bin}/lib/qt-*/plugins/platforms)" + export QT_PLUGIN_PATH="$(echo ${qt5.qtwayland.bin}/lib/qt-*/plugins)" export PYTHONPATH=./:$PYTHONPATH # Give access to kiosk_browser module ''; } |