From bb3cc10c983e755ede7d2be507da4c134d6a1a2f Mon Sep 17 00:00:00 2001 From: mangoiv Date: Thu, 3 Oct 2024 15:30:41 +0200 Subject: [PATCH] wire-desktop: do not force wayland platform in gappsWrapperArgs --- .../networking/instant-messengers/wire-desktop/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix index 22bf7fb11e6c..2030a3f467b4 100644 --- a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix @@ -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 = ''