diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-06-03 13:08:45 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-06-03 13:08:45 -0400 |
commit | 9d65bb588fadd355eae487c5f842f2af28b02aaa (patch) | |
tree | 0131adac1912a126403d8f9f4446f9a4feb5e5d8 /pkgs | |
parent | 7531309c6e9bf54f864daba2aee1f7272ac46abc (diff) |
zoom-us: set LD_PRELOAD=.../v4l2convert.so
This was needed for my webcam to work with zoom-us. v4l2convert is a wrapper for apps that only support simple bgr24 or yuv420. For these apps to support webcams that don’t use those formats, we need to use LD_PRELOAD to get those symbols. Taken from archlinux wiki: https://wiki.archlinux.org/index.php/Webcam_setup#V4L1_support
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/zoom-us/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix index b477a194faf18..2ce42fd9f835a 100644 --- a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix +++ b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix @@ -4,7 +4,7 @@ , qtimageformats, qtlocation, qtquickcontrols, qtquickcontrols2, qtscript, qtsvg , qttools, qtwayland, qtwebchannel, qtwebengine # Runtime -, coreutils, libjpeg_turbo, pciutils, procps, utillinux +, coreutils, libjpeg_turbo, pciutils, procps, utillinux, libv4l , pulseaudioSupport ? true, libpulseaudio ? null }: @@ -72,6 +72,7 @@ in stdenv.mkDerivation { makeWrapper $packagePath/zoom $out/bin/zoom-us \ --prefix PATH : "${makeBinPath [ coreutils glib.dev pciutils procps qttools.dev utillinux ]}" \ + --prefix LD_PRELOAD : "${libv4l}/lib/libv4l/v4l2convert.so" \ --run "cd $packagePath" runHook postInstall |