summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/video/mpv
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2022-08-27 19:16:55 +0200
committerrnhmjoj <rnhmjoj@inventati.org>2022-08-29 00:16:14 +0200
commit5e04a1fd5d803a1e533be51e2273d6d4d140dbaa (patch)
tree7f46a43c318aa8d06bb5df3bca468136d552f6cb /pkgs/applications/video/mpv
parent0b3ec7fbc83637a33d004f296c1b743ea4fafdcb (diff)
mpv: fix build with wayland support
Diffstat (limited to 'pkgs/applications/video/mpv')
-rw-r--r--pkgs/applications/video/mpv/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix
index e67f6d117a65..beb6c70f4eea 100644
--- a/pkgs/applications/video/mpv/default.nix
+++ b/pkgs/applications/video/mpv/default.nix
@@ -24,6 +24,7 @@
, waylandSupport ? stdenv.isLinux
, wayland
, wayland-protocols
+ , wayland-scanner
, libxkbcommon
, x11Support ? stdenv.isLinux
@@ -131,7 +132,8 @@ in stdenv.mkDerivation rec {
python3
wafHook
which
- ] ++ lib.optionals swiftSupport [ swift ];
+ ] ++ lib.optionals swiftSupport [ swift ]
+ ++ lib.optionals waylandSupport [ wayland-scanner ];
buildInputs = [
ffmpeg