From 721c1e547a6c06e3859fc2a06e5240db86a99c77 Mon Sep 17 00:00:00 2001 From: Sheng Wang Date: Thu, 1 Sep 2022 00:31:40 +0900 Subject: [PATCH] obs-vkcapture: fix build against wayland --- pkgs/applications/video/obs-studio/plugins/obs-vkcapture.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/video/obs-studio/plugins/obs-vkcapture.nix b/pkgs/applications/video/obs-studio/plugins/obs-vkcapture.nix index 7b151f0751b6..0e61f4aaeca7 100644 --- a/pkgs/applications/video/obs-studio/plugins/obs-vkcapture.nix +++ b/pkgs/applications/video/obs-studio/plugins/obs-vkcapture.nix @@ -2,8 +2,10 @@ , stdenv , fetchFromGitHub , cmake +, extra-cmake-modules , ninja , wayland +, wayland-scanner , obs-studio , libX11 , vulkan-headers @@ -29,7 +31,7 @@ stdenv.mkDerivation rec { "-DBUILD_PLUGIN=OFF" ]; - nativeBuildInputs = [ cmake ninja ]; + nativeBuildInputs = [ cmake extra-cmake-modules ninja wayland-scanner ]; buildInputs = [ libGL libX11