anchor.diff: -{ stdenv
  +{ lib
  +, stdenv
   , fetchurl
   , pkgconfig
   , bzip2
  
positive.code: }:
  
  let
    version = "6.8.9-8";
  in
  stdenv.mkDerivation rec {
    name = "ImageMagick-${version}";
  
  
negative.code:       export DVIDecodeDelegate=${tetex}/bin/dvips
      '' else "";
  
    configureFlags =
      [ "--with-frozenpaths" ]
      ++ [ "--with-gcc-arch=${arch}" ]
      ++ lib.optional (librsvg != null) "--with-rsvg"
      ++ lib.optionals (stdenv.system != "x86_64-darwin")
        [ "--with-gs-font-dir=${ghostscript}/share/ghostscript/fonts"
          "--with-gslib"
        ];
  
    propagatedBuildInputs =
      [ bzip2 fontconfig freetype libjpeg libpng libtiff libxml2 zlib librsvg
        libtool jasper libX11
      ] ++ lib.optional (stdenv.system != "x86_64-darwin") ghostscript;
  
    buildInputs = [ tetex pkgconfig ];
  
  