about summary refs log tree commit diff
path: root/pkgs/applications/video/obs-studio/default.nix
diff options
context:
space:
mode:
authoréclairevoyant <848000+eclairevoyant@users.noreply.github.com>2023-12-11 10:29:54 -0500
committeréclairevoyant <848000+eclairevoyant@users.noreply.github.com>2024-01-14 19:03:52 -0500
commit5113efa6a55be2bfe4abb257852e2157d1e7d51c (patch)
tree4c37c64469f3c093b0bb4ad5352b2534e58cb6e2 /pkgs/applications/video/obs-studio/default.nix
parente4d7cf931c96c65ccb10fe18b0ae5971dd87ec10 (diff)
obs-studio: fix build with alsa/pulseaudio/pipewire support disabled
Diffstat (limited to 'pkgs/applications/video/obs-studio/default.nix')
-rw-r--r--pkgs/applications/video/obs-studio/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/video/obs-studio/default.nix b/pkgs/applications/video/obs-studio/default.nix
index e530a0e0c5427..9051952f603d5 100644
--- a/pkgs/applications/video/obs-studio/default.nix
+++ b/pkgs/applications/video/obs-studio/default.nix
@@ -162,6 +162,9 @@ stdenv.mkDerivation (finalAttrs: {
     "-DENABLE_JACK=ON"
     (lib.cmakeBool "ENABLE_QSV11" stdenv.hostPlatform.isx86_64)
     (lib.cmakeBool "ENABLE_LIBFDK" withFdk)
+    (lib.cmakeBool "ENABLE_ALSA" alsaSupport)
+    (lib.cmakeBool "ENABLE_PULSEAUDIO" pulseaudioSupport)
+    (lib.cmakeBool "ENABLE_PIPEWIRE" pipewireSupport)
   ];
 
   dontWrapGApps = true;