git.iko.soy/typeable/nixpkgs
on master help sign in
graphicsmagick: fix for darwin

Prior to this change, GraphicsMagick didn't work at all for me on Darwin, due to dylib linking issues.

commitfff88b814c6bec72aee960e843d14936317a5e09 authorEric Bailey <eric@ericb.me> dateTue 28 Feb 2017, 14:14 (10 years ago) parent3373564
1 file changed+3−2
pkgs/applications/graphics/graphicsmagick/default.nix+3−2
pkgs/applications/graphics/graphicsmagick/default.nix+3−2
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, fetchpatch, bzip2, freetype, graphviz, ghostscript
22, libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz, libX11
3−, libwebp, quantumdepth ? 8 }:
3+, libwebp, quantumdepth ? 8, fixDarwinDylibNames }:
44
55let version = "1.3.25"; in
66
@@ -53,7 +53,8 @@ stdenv.mkDerivation {
5353 buildInputs =
5454 [ bzip2 freetype ghostscript graphviz libjpeg libpng libtiff libX11 libxml2
5555 zlib libtool libwebp
56− ];
56+ ]
57+ ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
5758
5859 nativeBuildInputs = [ xz ];
5960