Unverified Commit 398ac612 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

typora: fix wayland support (#512797)

parents 841e9f85 e109a967
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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