Commit aaafc000 authored by Florian Klink's avatar Florian Klink
Browse files

vaapiIntel: depend on wayland-scanner

Otherwise, wayland-scanner would be picked up from the wayland in
buildInputs, which isn't cross-friendly and will stop working when we
split wayland-scanner into a separate package.
parent b21621aa
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, autoreconfHook, gnum4, pkg-config, python3
, intel-gpu-tools, libdrm, libva
{ lib, stdenv, fetchFromGitHub
, autoreconfHook, gnum4, pkg-config, python3, wayland-scanner
, intel-gpu-tools, libdrm, libva, libX11, libGL, wayland, libXext
, enableHybridCodec ? false, vaapi-intel-hybrid
, enableGui ? true, libX11, libGL, wayland, libXext
, enableGui ? true
}:

stdenv.mkDerivation rec {
@@ -27,7 +28,9 @@ stdenv.mkDerivation rec {
    (lib.enableFeature enableGui "wayland")
  ] ++ lib.optional enableHybridCodec "--enable-hybrid-codec";

  nativeBuildInputs = [ autoreconfHook gnum4 pkg-config python3 ];
  nativeBuildInputs = [
    autoreconfHook gnum4 pkg-config python3 wayland-scanner
  ];

  buildInputs = [ intel-gpu-tools libdrm libva ]
    ++ lib.optionals enableGui [ libX11 libXext libGL wayland ]