mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
inkscape: fix runtime error on darwin
This commit is contained in:
parent
99ab0ebeab
commit
c5b219ec90
@ -159,8 +159,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Make sure PyXML modules can be found at run-time.
|
||||
postInstall = 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
|
||||
for f in $out/lib/inkscape/*.dylib; do
|
||||
ln -s $f $out/lib/$(basename $f)
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user