about summary refs log tree commit diff
path: root/pkgs/applications/video/mkvtoolnix
diff options
context:
space:
mode:
authorAndrew Marshall <andrew@johnandrewmarshall.com>2024-01-10 08:56:39 -0500
committerAndrew Marshall <andrew@johnandrewmarshall.com>2024-01-10 14:00:40 -0500
commitc9feed814b5c766b7df5db1d7599fd7c001fb3ac (patch)
tree60f9a404f6073c91a37aa07f1f8548de110debdd /pkgs/applications/video/mkvtoolnix
parent317484b1ead87b9c1b8ac5261a8d2dd748a0492d (diff)
mkvtoolnix: Fix missing qtwayland
Without this, `QT_QPA_PLATFORM=wayland-egl mkvtoolnix-gui` results in

> qt.qpa.plugin: Could not find the Qt platform plugin "wayland-egl" in
> ""
Diffstat (limited to 'pkgs/applications/video/mkvtoolnix')
-rw-r--r--pkgs/applications/video/mkvtoolnix/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/video/mkvtoolnix/default.nix b/pkgs/applications/video/mkvtoolnix/default.nix
index 9e5376ee1cfbe..b6d79695f5d30 100644
--- a/pkgs/applications/video/mkvtoolnix/default.nix
+++ b/pkgs/applications/video/mkvtoolnix/default.nix
@@ -25,6 +25,7 @@
 , pugixml
 , qtbase
 , qtmultimedia
+, qtwayland
 , utf8cpp
 , xdg-utils
 , zlib
@@ -90,6 +91,7 @@ stdenv.mkDerivation rec {
     zlib
   ]
   ++ optionals withGUI [ cmark ]
+  ++ optionals stdenv.isLinux [ qtwayland ]
   ++ optionals stdenv.isDarwin [ libiconv ];
 
   # autoupdate is not needed but it silences a ton of pointless warnings