diff options
author | Anthony Cowley <acowley@gmail.com> | 2017-02-16 13:32:39 -0500 |
---|---|---|
committer | Anthony Cowley <acowley@gmail.com> | 2017-02-16 13:32:39 -0500 |
commit | c37464a9b1e533c723b5a63a016c939dbc921326 (patch) | |
tree | 00e0492920768cc35ad62c06f1e81da33ac8afe5 /pkgs/misc | |
parent | 19a9099eb25795a8caa408f842a5254920157456 (diff) |
ghostscript: fix installed library name on darwin
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/ghostscript/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/misc/ghostscript/default.nix b/pkgs/misc/ghostscript/default.nix index 22a148398c5c..285a5b4ee497 100644 --- a/pkgs/misc/ghostscript/default.nix +++ b/pkgs/misc/ghostscript/default.nix @@ -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 '' |