about summary refs log tree commit diff
path: root/pkgs/applications/video/obs-studio/default.nix
diff options
context:
space:
mode:
authorRaphael Robatsch <raphael-git@tapesoftware.net>2024-01-10 20:43:05 +0100
committerRaphael Robatsch <raphael-git@tapesoftware.net>2024-01-10 20:45:42 +0100
commit58d2729d1abb7c14e19245f780bf48583367dfb0 (patch)
treed7f330831a2390e11fce44b7acd6fa185271609e /pkgs/applications/video/obs-studio/default.nix
parent5e2375d73e583b16bd479a66bca4fbd9fe3b7c32 (diff)
obs-studio: Disable x86_64 only features on aarch64
Fixes the aarch64-linux build: https://hydra.nixos.org/build/245937700/nixlog/2/tail
QSV is the Intel Quick Sync Video hardware encoder.
Diffstat (limited to 'pkgs/applications/video/obs-studio/default.nix')
-rw-r--r--pkgs/applications/video/obs-studio/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/video/obs-studio/default.nix b/pkgs/applications/video/obs-studio/default.nix
index d64f52d90d4de..02875950acb44 100644
--- a/pkgs/applications/video/obs-studio/default.nix
+++ b/pkgs/applications/video/obs-studio/default.nix
@@ -139,6 +139,7 @@ stdenv.mkDerivation (finalAttrs: {
     "-DBUILD_BROWSER=ON"
     "-DCEF_ROOT_DIR=../../cef"
     "-DENABLE_JACK=ON"
+    (lib.cmakeBool "ENABLE_QSV11" stdenv.hostPlatform.isx86_64)
   ];
 
   dontWrapGApps = true;