viber: add 'QML2_IMPORT_PATH' to the wrap

(cherry picked from commit 3209d25fd2355dbb68bf231ee1c1b3b442d42e86)
This commit is contained in:
cas1no 2021-07-31 14:58:53 +03:00 committed by github-actions[bot]
parent 914fbc482e
commit 29e7bc3d7d
1 changed files with 2 additions and 1 deletions

View File

@ -82,7 +82,8 @@ stdenv.mkDerivation {
wrapProgram $out/opt/viber/Viber \
--set QT_PLUGIN_PATH "$out/opt/viber/plugins" \
--set QT_XKB_CONFIG_ROOT "${xorg.xkeyboardconfig}/share/X11/xkb" \
--set QTCOMPOSE "${xorg.libX11.out}/share/X11/locale"
--set QTCOMPOSE "${xorg.libX11.out}/share/X11/locale" \
--set QML2_IMPORT_PATH "$out/opt/viber/qml"
ln -s $out/opt/viber/Viber $out/bin/viber
mv $out/usr/share $out/share