From ba78c500696e61a1ce5be3b11f5c3089e00be8f2 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sat, 8 Apr 2017 15:43:25 -0500 Subject: [PATCH] inkscape: fix missing library error --- pkgs/applications/graphics/inkscape/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index 2ab918e99b6..bee1f71a061 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; {