From 25280858bbde36d0202c1d5e0749f6fa9f059628 Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Fri, 2 Apr 2021 21:22:12 +0200 Subject: [PATCH] obs-studio: add pipewire to buildInputs obs-studio (git master) has support for capturing wayland windows via pipewire. To build further releases of obs-studio this adds pipewire to buildInputs https://github.com/obsproject/obs-studio/pull/4287 --- pkgs/applications/video/obs-studio/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/video/obs-studio/default.nix b/pkgs/applications/video/obs-studio/default.nix index caeffa56b178..47ab73d0ab7b 100644 --- a/pkgs/applications/video/obs-studio/default.nix +++ b/pkgs/applications/video/obs-studio/default.nix @@ -34,6 +34,8 @@ , pulseaudioSupport ? config.pulseaudio or stdenv.isLinux , libpulseaudio , libcef +, pipewireSupport ? stdenv.isLinux +, pipewire }: let @@ -76,7 +78,8 @@ in mkDerivation rec { ] ++ optionals scriptingSupport [ luajit swig python3 ] ++ optional alsaSupport alsaLib - ++ optional pulseaudioSupport libpulseaudio; + ++ optional pulseaudioSupport libpulseaudio + ++ optional pipewireSupport pipewire; # Copied from the obs-linuxbrowser postUnpack = ''