From 37578b19ad8d3ee2440863dda8e8856191c870dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A9clairevoyant?= <848000+eclairevoyant@users.noreply.github.com> Date: Fri, 2 Feb 2024 17:48:57 -0500 Subject: [PATCH] jami: fix wrapper for non-gnome environments --- .../networking/instant-messengers/jami/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/networking/instant-messengers/jami/default.nix b/pkgs/applications/networking/instant-messengers/jami/default.nix index 067c7b8f858d..7acbd1b3b393 100644 --- a/pkgs/applications/networking/instant-messengers/jami/default.nix +++ b/pkgs/applications/networking/instant-messengers/jami/default.nix @@ -50,6 +50,7 @@ , qtsvg , qtwebengine , qtwebchannel +, wrapGAppsHook , withWebengine ? true # for pjsip @@ -200,7 +201,10 @@ stdenv.mkDerivation rec { ln -s ${daemon} $out/daemon ''; + dontWrapGApps = true; + nativeBuildInputs = [ + wrapGAppsHook wrapQtAppsHook pkg-config cmake @@ -234,6 +238,10 @@ stdenv.mkDerivation rec { "--set-default QT_QPA_PLATFORM xcb" ]; + preFixup = '' + qtWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + passthru.updateScript = gitUpdater { rev-prefix = "stable/"; };