Fix imagemagick compilation on darwin, because it still includes ghostscript which should not be the case
This commit is contained in:
parent
3b766653c6
commit
010273bf1e
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
export DVIDecodeDelegate=${tetex}/bin/dvips
|
||||
'' else "";
|
||||
|
||||
configureFlags = "" + stdenv.lib.optionalString (ghostscript != null && stdenv.system != "x86_64-darwin") ''
|
||||
configureFlags = "" + stdenv.lib.optionalString (stdenv.system != "x86_64-darwin") ''
|
||||
--with-gs-font-dir=${ghostscript}/share/ghostscript/fonts
|
||||
--with-gslib
|
||||
'' + ''
|
||||
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||
propagatedBuildInputs =
|
||||
[ bzip2 fontconfig freetype libjpeg libpng libtiff libxml2 zlib librsvg
|
||||
libtool jasper libX11
|
||||
] ++ stdenv.lib.optional (ghostscript != null && stdenv.system != "x86_64-darwin") ghostscript;
|
||||
] ++ stdenv.lib.optional (stdenv.system != "x86_64-darwin") ghostscript;
|
||||
|
||||
buildInputs = [ tetex pkgconfig ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user