From fff88b814c6bec72aee960e843d14936317a5e09 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 28 Feb 2017 14:14:24 -0600 Subject: [PATCH] graphicsmagick: fix for darwin Prior to this change, GraphicsMagick didn't work at all for me on Darwin, due to dylib linking issues. --- pkgs/applications/graphics/graphicsmagick/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/graphicsmagick/default.nix b/pkgs/applications/graphics/graphicsmagick/default.nix index 4b75d0ccc6b6..f655979c2ccc 100644 --- a/pkgs/applications/graphics/graphicsmagick/default.nix +++ b/pkgs/applications/graphics/graphicsmagick/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, fetchpatch, bzip2, freetype, graphviz, ghostscript , libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz, libX11 -, libwebp, quantumdepth ? 8 }: +, libwebp, quantumdepth ? 8, fixDarwinDylibNames }: let version = "1.3.25"; in @@ -53,7 +53,8 @@ stdenv.mkDerivation { buildInputs = [ bzip2 freetype ghostscript graphviz libjpeg libpng libtiff libX11 libxml2 zlib libtool libwebp - ]; + ] + ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames; nativeBuildInputs = [ xz ];