mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #22875 from acowley/ghostscript-id
ghostscript: fix installed library name on darwin
This commit is contained in:
commit
2fe40506ac
@ -92,6 +92,10 @@ stdenv.mkDerivation rec {
|
||||
mv "$out/share/ghostscript/${version}"/{doc,examples} "$doc/share/ghostscript/${version}/"
|
||||
|
||||
ln -s "${fonts}" "$out/share/ghostscript/fonts"
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
for file in $out/lib/*.dylib* ; do
|
||||
install_name_tool -id "$file" $file
|
||||
done
|
||||
'';
|
||||
|
||||
preFixup = lib.optionalString stdenv.isDarwin ''
|
||||
|
Loading…
Reference in New Issue
Block a user