@@ -23,7 +23,6 @@
2323, pciutils
2424, procps
2525, util-linux
26−, qttools
2726, pulseaudioSupport ? true, libpulseaudio ? null
2827}:
2928
@@ -101,9 +100,13 @@ in stdenv.mkDerivation rec {
101100 rm $out/bin/zoom
102101 # Zoom expects "zopen" executable (needed for web login) to be present in CWD. Or does it expect
103102 # everybody runs Zoom only after cd to Zoom package directory? Anyway, :facepalm:
103+ # Also clear Qt environment variables to prevent
104+ # zoom from tripping over "foreign" Qt ressources.
104105 makeWrapper $out/opt/zoom/ZoomLauncher $out/bin/zoom \
105106 --run "cd $out/opt/zoom" \
106− --prefix PATH : ${lib.makeBinPath [ coreutils glib.dev pciutils procps qttools.dev util-linux ]} \
107+ --unset QML2_IMPORT_PATH \
108+ --unset QT_PLUGIN_PATH \
109+ --prefix PATH : ${lib.makeBinPath [ coreutils glib.dev pciutils procps util-linux ]} \
107110 --prefix LD_LIBRARY_PATH ":" ${libs}
108111
109112 # Backwards compatiblity: we used to call it zoom-us