|
|
|
@ -147,10 +147,6 @@ stdenv.mkDerivation rec { |
|
|
|
|
|
|
|
|
|
ln -s $out/share/desktopeditors/DesktopEditors $out/bin/DesktopEditors |
|
|
|
|
|
|
|
|
|
wrapProgram $out/bin/DesktopEditors \ |
|
|
|
|
--set QT_XKB_CONFIG_ROOT ${xkeyboard_config}/share/X11/xkb \ |
|
|
|
|
--set QTCOMPOSE ${xorg.libX11.out}/share/X11/locale |
|
|
|
|
|
|
|
|
|
substituteInPlace $out/share/applications/onlyoffice-desktopeditors.desktop \ |
|
|
|
|
--replace "/usr/bin/onlyoffice-desktopeditor" "$out/bin/DesktopEditor" |
|
|
|
|
|
|
|
|
@ -158,7 +154,13 @@ stdenv.mkDerivation rec { |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
preFixup = '' |
|
|
|
|
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${runtimeLibs}" ) |
|
|
|
|
gappsWrapperArgs+=( |
|
|
|
|
--prefix LD_LIBRARY_PATH : "${runtimeLibs}" \ |
|
|
|
|
--set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \ |
|
|
|
|
--set QTCOMPOSE "${xorg.libX11.out}/share/X11/locale" \ |
|
|
|
|
--set QT_QPA_PLATFORM "xcb" |
|
|
|
|
# the bundled version of qt does not support wayland |
|
|
|
|
) |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
passthru.updateScript = ./update.sh; |
|
|
|
|