Merge pull request #300946 from Mikilio/morgen-wayland

morgen: enable wayland via ozone
This commit is contained in:
Aleksana 2024-04-12 16:31:52 +08:00 committed by GitHub
commit 45f55e4399
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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
'';