From 5e04a1fd5d803a1e533be51e2273d6d4d140dbaa Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sat, 27 Aug 2022 19:16:55 +0200 Subject: [PATCH] mpv: fix build with wayland support --- pkgs/applications/video/mpv/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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