typora: fix wayland support (#512797)

This commit is contained in:
Peder Bergebakken Sundt
2026-04-30 23:55:01 +00:00
committed by GitHub
+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