mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
morgen: enable wayland via ozone
When NIXOS_OZOME_WL is set electron should start with wayland enabled.
This commit is contained in:
parent
215881dc2f
commit
d38b10e6bd
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
--replace '/opt/Morgen' $out/bin
|
||||
|
||||
makeWrapper ${electron}/bin/electron $out/bin/morgen \
|
||||
--add-flags $out/opt/Morgen/resources/app.asar
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer}} $out/opt/Morgen/resources/app.asar"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user