typora: fix wayland support

This commit is contained in:
Haonan Chen
2026-04-23 22:30:38 +08:00
parent b12141ef61
commit e109a96749
+1
View File
@@ -133,6 +133,7 @@ else
sed -i '/Change Log/d' "$out/share/applications/typora.desktop"
makeShellWrapper $out/opt/typora/Typora $out/bin/typora \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true --wayland-text-input-version=3}}" \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libGL ]}"
runHook postInstall