aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix10
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
'';
}