inkscape: fix runtime error on darwin

+3 -2
+3 -2
pkgs/applications/graphics/inkscape/default.nix
··· 159 159 160 160 # Make sure PyXML modules can be found at run-time. 161 161 postInstall = lib.optionalString stdenv.isDarwin '' 162 - install_name_tool -change $out/lib/libinkscape_base.dylib $out/lib/inkscape/libinkscape_base.dylib $out/bin/inkscape 163 - install_name_tool -change $out/lib/libinkscape_base.dylib $out/lib/inkscape/libinkscape_base.dylib $out/bin/inkview 162 + for f in $out/lib/inkscape/*.dylib; do 163 + ln -s $f $out/lib/$(basename $f) 164 + done 164 165 ''; 165 166 166 167 meta = with lib; {