diff --git a/pkgs/applications/networking/browsers/google-chrome/default.nix b/pkgs/applications/networking/browsers/google-chrome/default.nix index c5e5aff77e0..bc5922222ab 100644 --- a/pkgs/applications/networking/browsers/google-chrome/default.nix +++ b/pkgs/applications/networking/browsers/google-chrome/default.nix @@ -39,6 +39,9 @@ , gsettings-desktop-schemas , gnome3 + +# For video acceleration via VA-API (--enable-features=VaapiVideoDecoder) +, libvaSupport ? true, libva }: with lib; @@ -63,6 +66,7 @@ let kerberos libdrm mesa coreutils libxkbcommon wayland ] ++ optional pulseSupport libpulseaudio + ++ optional libvaSupport libva ++ [ gtk3 ]; suffix = if channel != "stable" then "-" + channel else "";