File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
pkgs/by-name/tu/tutanota-desktop Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 appimageTools ,
44 fetchurl ,
5+ makeWrapper ,
56 gitUpdater ,
67} :
78
@@ -16,6 +17,8 @@ appimageTools.wrapType2 rec {
1617
1718 extraPkgs = pkgs : [ pkgs . libsecret ] ;
1819
20+ nativeBuildInputs = [ makeWrapper ] ;
21+
1922 extraInstallCommands =
2023 let
2124 appimageContents = appimageTools . extract { inherit pname version src ; } ;
@@ -26,6 +29,9 @@ appimageTools.wrapType2 rec {
2629
2730 substituteInPlace $out/share/applications/tutanota-desktop.desktop \
2831 --replace 'Exec=AppRun' 'Exec=${ pname } '
32+
33+ wrapProgram $out/bin/tutanota-desktop \
34+ --add-flags "\'' ${NIXOS_OZONE_WL:+\'' ${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}"
2935 '' ;
3036
3137 passthru . updateScript = gitUpdater {
@@ -40,7 +46,7 @@ appimageTools.wrapType2 rec {
4046 changelog = "https://github.com/tutao/tutanota/releases/tag/tutanota-desktop-release-${ version } " ;
4147 license = lib . licenses . gpl3Only ;
4248 sourceProvenance = with lib . sourceTypes ; [ binaryNativeCode ] ;
43- maintainers = with lib . maintainers ; [ ] ;
49+ maintainers = [ lib . maintainers . awwpotato ] ;
4450 mainProgram = "tutanota-desktop" ;
4551 platforms = [ "x86_64-linux" ] ;
4652 } ;
You can’t perform that action at this time.
0 commit comments