Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zoom-us: 5.4.53350.1027 -> 5.4.57862.0110 #109602

Merged
merged 1 commit into from Jan 17, 2021
Merged

zoom-us: 5.4.53350.1027 -> 5.4.57862.0110 #109602

merged 1 commit into from Jan 17, 2021

Conversation

Mic92
Copy link
Member

@Mic92 Mic92 commented Jan 17, 2021

Replacing zooms qt library has let to incompatibilities between
qt versions used in Nix and zoom. The new approach just sets
LD_LIBRARY_PATH. LD_LIBRARY_PATH is also used internally by zoom
for its own vendored library.

The package has been tested end-to-end in a meeting.

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Replacing zooms qt library has led to incompatibilities between
qt versions used in Nix and zoom. The new approach just sets
LD_LIBRARY_PATH. LD_LIBRARY_PATH is also used internally by zoom
for its own vendored library.

The package has been tested end-to-end in a meeting.
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/show-case-for-nix-ld-run-umodified-zoom/11004/3

@lovesegfault
Copy link
Member

Tested and working on sway. I can join a meeting and use all features I need.

@lovesegfault
Copy link
Member

Result of nixpkgs-review pr 109602 run on x86_64-linux 1

1 package built:
  • zoom-us

@Mic92 Mic92 merged commit 040d241 into NixOS:master Jan 17, 2021
@Mic92 Mic92 deleted the zoom branch January 17, 2021 08:57
@Mic92
Copy link
Member Author

Mic92 commented Jan 17, 2021

Do we need to backport this?

@Mic92
Copy link
Member Author

Mic92 commented Jan 17, 2021

Backport: #109612

] ++ lib.optional (pulseaudioSupport) libpulseaudio);

in stdenv.mkDerivation {
name = "zoom-${version}";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change

{
  pname = "zoom-us";
  inherit version;
}

to

{
  name = "zoom-${version}";
}

Just curious.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a mistake. At some point I switched to fhsUserEnv where I had to strip the version number.

@doronbehar doronbehar mentioned this pull request Jan 17, 2021
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants