From e4e66931b0b9ec1bdb2a415fc59623cf9e0d9fc6 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 12 Oct 2024 15:42:16 +0200 Subject: [PATCH] obs-studio: fix build --- pkgs/applications/video/obs-studio/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/video/obs-studio/default.nix b/pkgs/applications/video/obs-studio/default.nix index 05f326843028..520bcb3bb8cc 100644 --- a/pkgs/applications/video/obs-studio/default.nix +++ b/pkgs/applications/video/obs-studio/default.nix @@ -85,6 +85,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-yRSw4VWDwMwysDB3Hw/tsmTjEQUhipvrVRQcZkbtuoI="; includes = [ "*/CompilerConfig.cmake" ]; }) + + (fetchpatch { + name = "qt-6.8.patch"; + url = "https://github.com/obsproject/obs-websocket/commit/d9befb9e0a4898695eef5ccbc91a4fac02027854.patch"; + extraPrefix = "plugins/obs-websocket/"; + stripLen = 1; + hash = "sha256-7SDBRr9G40b9DfbgdaYJxTeiDSLUfVixtMtM3cLTVZs="; + }) ]; nativeBuildInputs = [