Skip to content

Commit

Permalink
Merge pull request #241129 from NixOS/backport-238646-to-release-23.05
Browse files Browse the repository at this point in the history
[Backport release-23.05] revolt-desktop: Use Ozone if NIXOS_OZONE_WL set
  • Loading branch information
wegank authored Jul 4, 2023
2 parents 1493844 + 36844f7 commit 98239a5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ stdenv.mkDerivation rec {

postFixup = ''
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
--add-flags $out/share/${pname}/resources/app.asar
--add-flags $out/share/${pname}/resources/app.asar \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-features=WaylandWindowDecorations}}"
'';

meta = with lib; {
Expand Down

0 comments on commit 98239a5

Please sign in to comment.