Unverified Commit 14efdd41 authored by Alexis Hildebrandt's avatar Alexis Hildebrandt Committed by GitHub
Browse files

zoom-us: use makeWrapper to link zoom.us.app into bin/ (#304874)



* zoom-us: use makeWrapper to link zoom.us.app into bin/

* Update pkgs/applications/networking/instant-messengers/zoom-us/default.nix

---------

Co-authored-by: default avatarSandro <sandro.jaeckel@gmail.com>
parent 73e7e210
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -151,7 +151,9 @@ stdenv.mkDerivation rec {
    runHook postInstall
  '';

  postFixup = lib.optionalString stdenv.isLinux ''
  postFixup =  lib.optionalString stdenv.isDarwin ''
    makeWrapper $out/Applications/zoom.us.app/Contents/MacOS/zoom.us $out/bin/zoom
  '' + lib.optionalString stdenv.isLinux ''
    # Desktop File
    substituteInPlace $out/share/applications/Zoom.desktop \
        --replace "Exec=/usr/bin/zoom" "Exec=$out/bin/zoom"