diff --git a/pkgs/applications/networking/instant-messengers/element/element-desktop.nix b/pkgs/applications/networking/instant-messengers/element/element-desktop.nix index f30850d2586d..67e21bcd1821 100644 --- a/pkgs/applications/networking/instant-messengers/element/element-desktop.nix +++ b/pkgs/applications/networking/instant-messengers/element/element-desktop.nix @@ -123,6 +123,10 @@ stdenv.mkDerivation (finalAttrs: builtins.removeAttrs pinData [ "hashes" ] // { mimeTypes = [ "x-scheme-handler/element" ]; }; + postFixup = lib.optionalString stdenv.isDarwin '' + cp build/icon.icns $out/Applications/Element.app/Contents/Resources/element.icns + ''; + passthru = { updateScript = ./update.sh;