diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2017-04-08 15:43:25 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2017-04-08 23:20:10 -0500 |
commit | ba78c500696e61a1ce5be3b11f5c3089e00be8f2 (patch) | |
tree | 49469c7a9b6811ab0da6b1501693340514f0f361 /pkgs/applications/graphics | |
parent | f48cd9503dd0e56b7bde6a9d997acf5f8d2c1900 (diff) | |
download | nixlib-ba78c500696e61a1ce5be3b11f5c3089e00be8f2.tar nixlib-ba78c500696e61a1ce5be3b11f5c3089e00be8f2.tar.gz nixlib-ba78c500696e61a1ce5be3b11f5c3089e00be8f2.tar.bz2 nixlib-ba78c500696e61a1ce5be3b11f5c3089e00be8f2.tar.lz nixlib-ba78c500696e61a1ce5be3b11f5c3089e00be8f2.tar.xz nixlib-ba78c500696e61a1ce5be3b11f5c3089e00be8f2.tar.zst nixlib-ba78c500696e61a1ce5be3b11f5c3089e00be8f2.zip |
inkscape: fix missing library error
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/inkscape/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index 2ab918e99b6a..bee1f71a061c 100644 --- a/pkgs/applications/graphics/inkscape/default.nix +++ b/pkgs/applications/graphics/inkscape/default.nix @@ -44,6 +44,9 @@ stdenv.mkDerivation rec { postInstall = '' # Make sure PyXML modules can be found at run-time. 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; { |