From 0d557cc212e1dca9c0a64a409088d7f8a563e255 Mon Sep 17 00:00:00 2001 From: sodiboo Date: Tue, 23 Jul 2024 22:37:39 +0200 Subject: [PATCH] itch: implement NIXOS_OZONE_WL --- pkgs/by-name/it/itch/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/it/itch/package.nix b/pkgs/by-name/it/itch/package.nix index e49f389babd8..29558080375f 100644 --- a/pkgs/by-name/it/itch/package.nix +++ b/pkgs/by-name/it/itch/package.nix @@ -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} '';