Skip to content

Commit

Permalink
Add xcb as fallback when wayland fails to load
Browse files Browse the repository at this point in the history
Mostly as a fallback for xserver.
  • Loading branch information
seakrueger committed Jun 7, 2024
1 parent d2ed0b7 commit fbabb41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
pkgs.libpulseaudio
pkgs.libkrb5

qt6.qtwayland
qt6.full
qt6.qtbase
qt6.full
qt6.qtwayland
];

buildInputs = with pkgs; [
Expand Down Expand Up @@ -88,7 +88,7 @@
postShellHook = ''
unset SOURCE_DATE_EPOCH
export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORM="wayland;xcb"
export LIBRARY_PATH=/usr/lib:/usr/lib64:$LIBRARY_PATH
# export LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib/:/run/opengl-driver/lib/
export QT_PLUGIN_PATH=${pkgs.qt6.qtbase}/${pkgs.qt6.qtbase.qtPluginPrefix}
Expand Down

0 comments on commit fbabb41

Please sign in to comment.