Commit affe201a authored by Olli Helenius's avatar Olli Helenius Committed by Bjørn Forsman
Browse files

zoom-us: patch `ZoomWebviewHost`

parent d441b0aa
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ stdenv.mkDerivation rec {
    substituteInPlace $out/share/applications/Zoom.desktop \
        --replace-fail "Exec=/usr/bin/zoom" "Exec=$out/bin/zoom"

    for i in aomhost zopen zoom ZoomLauncher; do
    for i in aomhost zopen zoom ZoomLauncher ZoomWebviewHost; do
      patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/opt/zoom/$i
    done

@@ -181,6 +181,12 @@ stdenv.mkDerivation rec {
      --prefix PATH : ${lib.makeBinPath [ coreutils glib.dev pciutils procps util-linux ]} \
      --prefix LD_LIBRARY_PATH ":" ${libs}

    wrapProgram $out/opt/zoom/ZoomWebviewHost \
      --unset QML2_IMPORT_PATH \
      --unset QT_PLUGIN_PATH \
      --unset QT_SCREEN_SCALE_FACTORS \
      --prefix LD_LIBRARY_PATH ":" ${libs}

    # Backwards compatibility: we used to call it zoom-us
    ln -s $out/bin/{zoom,zoom-us}
  '';