diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2024-04-25 22:37:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 22:37:11 +0200 |
commit | 14efdd41d54ee985a71c73ba196d5fd864962744 (patch) | |
tree | ec750dfddad77fb58ad698b9051f9655da557abd /pkgs/applications/networking/instant-messengers/zoom-us | |
parent | 73e7e2108ab07de34aa9ea4d70242d9ff5fb7f04 (diff) |
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: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/zoom-us')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/zoom-us/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix index cdf8f4f886d60..6c2f744a3de88 100644 --- a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix +++ b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix @@ -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" |