about summary refs log tree commit diff
path: root/pkgs/applications/video/obs-studio/default.nix
diff options
context:
space:
mode:
authorV <v@anomalous.eu>2021-06-10 19:18:46 +0200
committerV <v@anomalous.eu>2021-06-10 19:25:32 +0200
commit40e8cd7214bab9087d5bcb6aba6c31667fb5c78b (patch)
tree7cd8e47c6f72a59688f0aaab8c17c49280c88a9a /pkgs/applications/video/obs-studio/default.nix
parent41756934db77a275e83d7b03d7a639dc0e76541e (diff)
obs-studio: Fix compilation with latest CEF
Diffstat (limited to 'pkgs/applications/video/obs-studio/default.nix')
-rw-r--r--pkgs/applications/video/obs-studio/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/video/obs-studio/default.nix b/pkgs/applications/video/obs-studio/default.nix
index a50fe16660fb1..ff56fa1c0fbc6 100644
--- a/pkgs/applications/video/obs-studio/default.nix
+++ b/pkgs/applications/video/obs-studio/default.nix
@@ -53,6 +53,14 @@ in mkDerivation rec {
     fetchSubmodules = true;
   };
 
+  patches = [
+    # Lets obs-browser build against CEF 90.1.0+
+    ./Enable-file-access-and-universal-access-for-file-URL.patch
+
+    # Lets obs-browser build against CEF 91.1.0+
+    ./Change-product_version-to-user_agent_product.patch
+  ];
+
   nativeBuildInputs = [ addOpenGLRunpath cmake pkg-config ];
 
   buildInputs = [