mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
ghostscript: change dynamic library path, fixes #11165
This commit is contained in:
parent
94e6323de0
commit
dfc8217aa0
@ -93,6 +93,10 @@ stdenv.mkDerivation rec {
|
||||
ln -s "${fonts}" "$out/share/ghostscript/fonts"
|
||||
'';
|
||||
|
||||
preFixup = stdenv.lib.strings.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -change libgs.dylib.${version} $out/lib/libgs.dylib.${version} $out/bin/gs
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.ghostscript.com/";
|
||||
description = "PostScript interpreter (mainline version)";
|
||||
|
Loading…
Reference in New Issue
Block a user