abiword: fix gschemas crash and missing icons

The gtk3 file dialogs were crashing, as always without wrapping.
/cc maintainer @pSub.

+8 -2
+7 -2
pkgs/applications/office/abiword/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, gtk3, libglade, libgnomecanvas, fribidi 2 2 , libpng, popt, libgsf, enchant, wv, librsvg, bzip2, libjpeg, perl 3 - , boost, libxslt, goffice 3 + , boost, libxslt, goffice, makeWrapper, iconTheme 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { ··· 16 16 17 17 buildInputs = 18 18 [ pkgconfig gtk3 libglade librsvg bzip2 libgnomecanvas fribidi libpng popt 19 - libgsf enchant wv libjpeg perl boost libxslt goffice 19 + libgsf enchant wv libjpeg perl boost libxslt goffice makeWrapper iconTheme 20 20 ]; 21 + 22 + postFixup = '' 23 + wrapProgram "$out/bin/abiword" \ 24 + --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" 25 + ''; 21 26 22 27 meta = with stdenv.lib; { 23 28 description = "Word processing program, similar to Microsoft Word";
+1
pkgs/top-level/all-packages.nix
··· 10413 10413 10414 10414 abiword = callPackage ../applications/office/abiword { 10415 10415 inherit (gnome) libglade libgnomecanvas; 10416 + iconTheme = gnome3.defaultIconTheme; 10416 10417 }; 10417 10418 10418 10419 abook = callPackage ../applications/misc/abook { };