git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #23294 from yurrriq/update/pkgs/applications/graphics/graphicsmagick

graphicsmagick: fix for darwin

commit4150920a51c911b45a39f512b4292c1de63990c3 authorDaiderd Jordan <daiderd@gmail.com> dateWed 1 Mar 2017, 21:45 (10 years ago) parent8dcfa44fff88b8
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