diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index 58628aa1f8e..8cbf32d99f8 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -9,9 +9,10 @@ libXext ? null, libXxf86vm ? null -, waylandSupport ? false, - wayland ? null, - libxkbcommon ? null +, waylandSupport ? false + , wayland ? null + , wayland-protocols ? null + , libxkbcommon ? null , rubberbandSupport ? true, rubberband ? null , xineramaSupport ? true, libXinerama ? null @@ -47,7 +48,7 @@ let available = x: x != null; in assert x11Support -> all available [libGLU_combined libX11 libXext libXxf86vm]; -assert waylandSupport -> all available [wayland libxkbcommon]; +assert waylandSupport -> all available [wayland wayland-protocols libxkbcommon]; assert rubberbandSupport -> available rubberband; assert xineramaSupport -> x11Support && available libXinerama; assert xvSupport -> x11Support && available libXv; @@ -151,7 +152,7 @@ in stdenv.mkDerivation rec { ++ optional archiveSupport libarchive ++ optionals dvdnavSupport [ libdvdnav libdvdnav.libdvdread ] ++ optionals x11Support [ libX11 libXext libGLU_combined libXxf86vm ] - ++ optionals waylandSupport [ wayland libxkbcommon ] + ++ optionals waylandSupport [ wayland wayland-protocols libxkbcommon ] ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ libiconv Cocoa CoreAudio ]);