mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
revolt-desktop: Use Ozone if NIXOS_OZONE_WL set
(cherry picked from commit 967beb212f)
This commit is contained in:
committed by
github-actions[bot]
parent
7cacbc32ad
commit
36844f79c6
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user