jami: fix wrapper for non-gnome environments

This commit is contained in:
éclairevoyant 2024-02-02 17:48:57 -05:00
parent edb53211cc
commit 37578b19ad
No known key found for this signature in database
GPG key ID: E3813AEAA02DB54B

View file

@ -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/";
};