wire-desktop: do not force wayland platform in gappsWrapperArgs (#346189)

This commit is contained in:
toonn 2024-10-10 22:14:19 +02:00 committed by GitHub
commit b53cf65876
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@
, stdenv
, lib
, udev
, wrapGAppsHook3
, buildPackages
, cpio
, xar
, libdbusmenu
@ -97,7 +97,7 @@ let
autoPatchelfHook
dpkg
makeWrapper
wrapGAppsHook3
(buildPackages.wrapGAppsHook3.override { makeWrapper = buildPackages.makeShellWrapper; })
];
buildInputs = [
@ -137,7 +137,7 @@ let
];
preFixup = ''
gappsWrapperArgs+=(--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --ozone-platform=wayland --enable-features=WaylandWindowDecorations}}")
gappsWrapperArgs+=(--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}")
'';
postFixup = ''