summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Möller <fabianm88@gmail.com>2022-01-23 23:14:06 +0100
committerFabian Möller <fabianm88@gmail.com>2022-01-23 23:14:06 +0100
commitd0fe0e93cca467fc077cc97d82ef8861e2c2ab69 (patch)
tree303ab8823f49f6456a75ba4749633c505bc7ef8d
parent0bf621e1345b0a5878d1f989392a22f3086f678f (diff)
downloadnixpkgs-d0fe0e93cca467fc077cc97d82ef8861e2c2ab69.tar
nixpkgs-d0fe0e93cca467fc077cc97d82ef8861e2c2ab69.tar.gz
nixpkgs-d0fe0e93cca467fc077cc97d82ef8861e2c2ab69.tar.bz2
nixpkgs-d0fe0e93cca467fc077cc97d82ef8861e2c2ab69.tar.lz
nixpkgs-d0fe0e93cca467fc077cc97d82ef8861e2c2ab69.tar.xz
nixpkgs-d0fe0e93cca467fc077cc97d82ef8861e2c2ab69.tar.zst
nixpkgs-d0fe0e93cca467fc077cc97d82ef8861e2c2ab69.zip
plex-media-player: fix crash under wayland
-rw-r--r--pkgs/applications/video/plex-media-player/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/video/plex-media-player/default.nix b/pkgs/applications/video/plex-media-player/default.nix
index c31f874ef87..576762ad9e0 100644
--- a/pkgs/applications/video/plex-media-player/default.nix
+++ b/pkgs/applications/video/plex-media-player/default.nix
@@ -36,6 +36,9 @@ in mkDerivation rec {
 
   cmakeFlags = [ "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DQTROOT=${qtbase}" ];
 
+  # plexmediaplayer currently segfaults under wayland
+  qtWrapperArgs = [ "--set" "QT_QPA_PLATFORM" "xcb" ];
+
   passthru.updateScript = ./update.sh;
 
   meta = with lib; {