diff options
author | Riley Inman <rileyminman@gmail.com> | 2019-09-07 17:42:35 -0400 |
---|---|---|
committer | Riley Inman <rileyminman@gmail.com> | 2019-09-08 14:51:12 -0400 |
commit | cd04b610ba34e3081dd81c82d9e7d3c247128279 (patch) | |
tree | 7a7c7810b42ae511e0acce5f4fd84e4e52d9c644 /pkgs/applications/graphics | |
parent | c025f5c03dd72b9259c527fd9407ca192952b963 (diff) | |
download | nixlib-cd04b610ba34e3081dd81c82d9e7d3c247128279.tar nixlib-cd04b610ba34e3081dd81c82d9e7d3c247128279.tar.gz nixlib-cd04b610ba34e3081dd81c82d9e7d3c247128279.tar.bz2 nixlib-cd04b610ba34e3081dd81c82d9e7d3c247128279.tar.lz nixlib-cd04b610ba34e3081dd81c82d9e7d3c247128279.tar.xz nixlib-cd04b610ba34e3081dd81c82d9e7d3c247128279.tar.zst nixlib-cd04b610ba34e3081dd81c82d9e7d3c247128279.zip |
inkscape: add wrapGAppsHook for icons (fixed for strictDeps)
Resolves #68185. The icons in Inkscape depend on gdk-pixbuf loaders, but because strictDeps is set to true to fix some macOS issues it doesn't work (see #56943). Adding librsvg to buildInputs explicitly fixes the issue.
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/inkscape/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index 1729f3c5cdab..547e2914399b 100644 --- a/pkgs/applications/graphics/inkscape/default.nix +++ b/pkgs/applications/graphics/inkscape/default.nix @@ -3,6 +3,7 @@ , glibmm, libsigcxx, lcms, boost, gettext, makeWrapper , gsl, python2, poppler, imagemagick, libwpg, librevenge , libvisio, libcdr, libexif, potrace, cmake, hicolor-icon-theme +, librsvg, wrapGAppsHook }: let @@ -40,7 +41,7 @@ stdenv.mkDerivation rec { --replace '"python-interpreter", "python"' '"python-interpreter", "${python2Env}/bin/python"' ''; - nativeBuildInputs = [ pkgconfig cmake makeWrapper python2Env ] + nativeBuildInputs = [ pkgconfig cmake makeWrapper python2Env wrapGAppsHook ] ++ (with perlPackages; [ perl XMLParser ]); buildInputs = [ libXft libpng zlib popt boehmgc @@ -48,6 +49,8 @@ stdenv.mkDerivation rec { gsl poppler imagemagick libwpg librevenge libvisio libcdr libexif potrace hicolor-icon-theme + librsvg # for loading icons + python2Env perlPackages.perl ]; |