itch: implement NIXOS_OZONE_WL

This commit is contained in:
sodiboo 2024-07-23 22:37:39 +02:00
parent 4c94889155
commit 0d557cc212

View File

@ -91,6 +91,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
makeWrapper ${steam-run}/bin/steam-run $out/bin/itch \
--add-flags ${electron}/bin/electron \
--add-flags $out/share/itch/resources/app \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
--set BROTH_USE_LOCAL butler,itch-setup \
--prefix PATH : ${butler}:${itch-setup}
'';