diff --git a/pkgs/applications/video/obs-studio/default.nix b/pkgs/applications/video/obs-studio/default.nix index 850d6b5a520d..64938df8bbbd 100644 --- a/pkgs/applications/video/obs-studio/default.nix +++ b/pkgs/applications/video/obs-studio/default.nix @@ -6,6 +6,7 @@ ninja, nv-codec-headers-12, fetchFromGitHub, + fetchpatch2, addDriverRunpath, autoAddDriverRunpath, cudaSupport ? config.cudaSupport, @@ -97,6 +98,11 @@ stdenv.mkDerivation (finalAttrs: { patches = [ ./fix-nix-plugin-path.patch + # Fix build with Qt 6.10 https://github.com/obsproject/obs-studio/pull/12328 + (fetchpatch2 { + url = "https://github.com/obsproject/obs-studio/commit/26dfacbd4f5217258a2f1c5472a544c65a182d10.patch?full_index=1"; + hash = "sha256-gEWDzZ+GPCR+rmytXcbiBcvzLg8VwZCveMKkvho3COI="; + }) ]; nativeBuildInputs = [