Skip to content

Commit

Permalink
revolt-desktop: Use Ozone if NIXOS_OZONE_WL set
Browse files Browse the repository at this point in the history
(cherry picked from commit 967beb2)
  • Loading branch information
OPNA2608 authored and github-actions[bot] committed Jul 2, 2023
1 parent 7cacbc3 commit 36844f7
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 36844f7

Please sign in to comment.