mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #235435 from adamcstephens/element-desktop/mac-icon
element-desktop: use upstream icon for darwin
This commit is contained in:
commit
ef35413a1f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user