obs-studio: fix #226468

This commit is contained in:
Franz Pletz
2023-08-02 12:37:36 +02:00
parent 6eeae9d1c2
commit cb10b111f3
@@ -21,6 +21,7 @@
, xorg
, pkg-config
, libvlc
, libGL
, mbedtls
, wrapGAppsHook
, scriptingSupport ? true
@@ -135,7 +136,7 @@ stdenv.mkDerivation rec {
dontWrapGApps = true;
preFixup = ''
qtWrapperArgs+=(
--prefix LD_LIBRARY_PATH : "$out/lib:${lib.makeLibraryPath [ xorg.libX11 libvlc ]}"
--prefix LD_LIBRARY_PATH : "$out/lib:${lib.makeLibraryPath [ xorg.libX11 libvlc libGL ]}"
''${gappsWrapperArgs[@]}
)
'';