anchor.diff:      ln -s "${fonts}" "$out/share/ghostscript/fonts"
     '';
   
  -  preFixup = stdenv.lib.strings.optionalString stdenv.isDarwin ''
  +  preFixup = lib.optionalString stdenv.isDarwin ''
       install_name_tool -change libgs.dylib.${version} $out/lib/libgs.dylib.${version} $out/bin/gs
     '';
   
  
positive.code:     })
    ];
  
    makeFlags = [ "cups_serverroot=$(out)" "cups_serverbin=$(out)/lib/cups" ];
  
    preConfigure = ''
      # requires in-tree (heavily patched) openjpeg
      rm -rf jpeg libpng zlib jasper expat tiff lcms{,2} jbig2dec freetype cups/libs ijs
  
negative.code:       libjpeg libpng libtiff freetype fontconfig lcms2 libpaper jbig2dec
        libiconv ijs
      ]
      ++ lib.optional x11Support xlibsWrapper
      ++ lib.optional cupsSupport cups
      ;
  
    patches = [
  