From ef62549accdb352b77706fcd0024fce59c984d6b Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Thu, 16 Oct 2025 12:36:13 +0200 Subject: [PATCH] obs-studio: fix build with Qt 6.10 --- pkgs/applications/video/obs-studio/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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 = [