Merge pull request #262343 from eclairevoyant/webcord

webcord: lock ozone wayland behind NIXOS_OZONE_WL envvar

authored by Lily Foster and committed by GitHub ada0c923 75a52265

+2 -2
+2 -2
pkgs/applications/networking/instant-messengers/webcord/default.nix
··· 62 62 makeWrapper '${lib.getExe electron_27}' $out/bin/webcord \ 63 63 --prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/webcord \ 64 64 --suffix PATH : "${binPath}" \ 65 - --add-flags "--ozone-platform-hint=auto" \ 65 + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ 66 66 --add-flags $out/lib/node_modules/webcord/ 67 67 68 68 runHook postInstall ··· 88 88 changelog = "https://github.com/SpacingBat3/WebCord/releases/tag/v${version}"; 89 89 license = lib.licenses.mit; 90 90 mainProgram = "webcord"; 91 - maintainers = with lib.maintainers; [ huantian ]; 91 + maintainers = with lib.maintainers; [ eclairevoyant huantian ]; 92 92 platforms = lib.platforms.linux; 93 93 }; 94 94 }