inkscape: fix missing library error

This commit is contained in:
Matthew Bauer 2017-04-08 15:43:25 -05:00
parent f48cd9503d
commit ba78c50069
No known key found for this signature in database
GPG Key ID: E04D0AD9469141C3

View File

@ -44,6 +44,9 @@ stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
# Make sure PyXML modules can be found at run-time. # Make sure PyXML modules can be found at run-time.
rm "$out/share/icons/hicolor/icon-theme.cache" rm "$out/share/icons/hicolor/icon-theme.cache"
'' + stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -change $out/lib/libinkscape_base.dylib $out/lib/inkscape/libinkscape_base.dylib $out/bin/inkscape
install_name_tool -change $out/lib/libinkscape_base.dylib $out/lib/inkscape/libinkscape_base.dylib $out/bin/inkview
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {