mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
zulip: Respect NIXOS_OZONE_WL to enable Wayland mode
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit 6f89774b67)
This commit is contained in:
committed by
github-actions[bot]
parent
9621384320
commit
ea2c540a39
@@ -20,6 +20,8 @@ let
|
||||
in appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
|
||||
runScript = "appimage-exec.sh -w ${appimageContents} -- \${NIXOS_OZONE_WL:+\${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}";
|
||||
|
||||
extraInstallCommands = ''
|
||||
mv "$out/bin/${pname}-${version}" "$out/bin/${pname}"
|
||||
install -m 444 -D ${appimageContents}/zulip.desktop $out/share/applications/zulip.desktop
|
||||
|
||||
Reference in New Issue
Block a user