@@ -11,7 +11,7 @@
1111, fontsConf, pkgconfig, libzip, bluez5, libtool, maven
1212, libatomic_ops, graphite2, harfbuzz, libodfgen, libzmf
1313, librevenge, libe-book, libmwaw, glm, glew, gst_all_1
14−, gdb, commonsLogging, librdf_rasqal, makeWrapper, gsettings_desktop_schemas
14+, gdb, commonsLogging, librdf_rasqal, wrapGAppsHook
1515, defaultIconTheme, glib, ncurses, xmlsec, epoxy, gpgme
1616, langs ? [ "en-US" "en-GB" "ca" "ru" "eo" "fr" "nl" "de" "sl" "pl" "hu" "it" ]
1717, withHelp ? true
@@ -166,10 +166,6 @@ in stdenv.mkDerivation rec {
166166
167167 for a in sbase scalc sdraw smath swriter simpress soffice; do
168168 ln -s $out/lib/libreoffice/program/$a $out/bin/$a
169− wrapProgram "$out/bin/$a" \
170− --prefix XDG_DATA_DIRS : \
171− "$out/share:$GSETTINGS_SCHEMAS_PATH" \
172− ;
173169 done
174170
175171 ln -s $out/bin/soffice $out/bin/libreoffice
@@ -252,16 +248,17 @@ in stdenv.mkDerivation rec {
252248 libmspack librdf_redland librsvg libsndfile libvisio libwpd libwpg libX11
253249 libXaw libXext libXi libXinerama libxml2 libxslt libXtst
254250 libXdmcp libpthreadstubs mesa mythes gst_all_1.gstreamer
255− gst_all_1.gst-plugins-base gsettings_desktop_schemas glib
251+ gst_all_1.gst-plugins-base glib
256252 neon nspr nss openldap openssl ORBit2 pam perl pkgconfig poppler
257253 python3 sablotron sane-backends unzip vigra which zip zlib
258254 mdds bluez5 glibc libcmis libwps libabw libzmf libtool
259255 libxshmfence libatomic_ops graphite2 harfbuzz gpgme
260256 librevenge libe-book libmwaw glm glew ncurses xmlsec epoxy
261− libodfgen CoinMP librdf_rasqal defaultIconTheme makeWrapper
257+ libodfgen CoinMP librdf_rasqal defaultIconTheme
262258 gdb
263259 ]
264260 ++ lib.optional kdeIntegration kdelibs4;
261+ nativeBuildInputs = [ wrapGAppsHook ];
265262
266263 passthru = {
267264 inherit srcs;