Commit 69ec89cd authored by Yarny0's avatar Yarny0
Browse files

zoom-us: 6.4.6.* -> 6.4.10.*

The new zoom version has problems showing the settings dialog.
Tested with linux platform: The following values for `LANG`
create a settings dialog where most items are not visible:

* de_AT.UTF-8
* de_DE.UTF-8
* es_CU.UTF-8
* fr_FR.UTF-8
* sr_RS.UTF-8
* tt_RU.UTF-8

whereas these values don't cause any breakage:

* C.UTF-8
* en_CA.UTF-8
* en_GB.UTF-8
* en_US.UTF-8

As zoom has its own language setting,
this update simply clears the LANG variable
to avoid any problems in the settings dialog.
parent 2795c506
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -19,23 +19,23 @@ let
  # and often with different versions. We write them on three lines
  # like this (rather than using {}) so that the updater script can
  # find where to edit them.
  versions.aarch64-darwin = "6.4.6.53970";
  versions.x86_64-darwin = "6.4.6.53970";
  versions.x86_64-linux = "6.4.6.1370";
  versions.aarch64-darwin = "6.4.10.56141";
  versions.x86_64-darwin = "6.4.10.56141";
  versions.x86_64-linux = "6.4.10.2027";

  srcs = {
    aarch64-darwin = fetchurl {
      url = "https://zoom.us/client/${versions.aarch64-darwin}/zoomusInstallerFull.pkg?archType=arm64";
      name = "zoomusInstallerFull.pkg";
      hash = "sha256-yNsiFZNte4432d8DUyDhPUOVbLul7gUdvr+3qK/Y+tk=";
      hash = "sha256-LIQl+s/2WfYFIEG/ZsvpWlsWRhToB+5+ymAXCMhDqWE=";
    };
    x86_64-darwin = fetchurl {
      url = "https://zoom.us/client/${versions.x86_64-darwin}/zoomusInstallerFull.pkg";
      hash = "sha256-Ut93qQFFN0d58wXD5r8u0B17HbihFg3FgY3a1L8nsIA=";
      hash = "sha256-jP9ajDCo8iImS8YGFLjNMOLLh9g8uSqYIRl3aqhJAaM=";
    };
    x86_64-linux = fetchurl {
      url = "https://zoom.us/client/${versions.x86_64-linux}/zoom_x86_64.pkg.tar.xz";
      hash = "sha256-Y+8garSqDcKLCVv1cTiqGEfrGKpK3UoXIq8X4E8CF+8=";
      hash = "sha256-BwYO8IlQJjZwwn/qokZ+gAgcgmAjG34uExHCajchVqs=";
    };
  };

@@ -200,7 +200,10 @@ let
    version = versions.${system} or throwSystem;

    targetPkgs = pkgs: (linuxGetDependencies pkgs) ++ [ unpacked ];
    extraPreBwrapCmds = "unset QT_PLUGIN_PATH";
    extraPreBwrapCmds = ''
      unset QT_PLUGIN_PATH
      unset LANG  # would break settings dialog on non-"en_XX" locales
    '';
    extraBwrapArgs = [ "--ro-bind ${unpacked}/opt /opt" ];
    runScript = "/opt/zoom/ZoomLauncher";