From 85aecfd924bea17aa2e4fbdf2ad1a06f6ef02de3 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 31 Oct 2021 22:14:58 +0100 Subject: Support wayland --- default.nix | 10 +++++----- 1 file 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 ''; } -- cgit v1.2.3