anchor.diff:    ];
   
     postPatch = ''
  -    rm -r freetype jbig2dec jpeg lcms2 libpng tiff zlib ijs
  +    rm -rv freetype jbig2dec jpeg lcms2 libpng tiff zlib ijs
   
  -    sed "s@if ( test -f \$(INCLUDE)[^ ]* )@if ( true )@; s@INCLUDE=/usr/include@INCLUDE=/no-such-path@" -i base/unix-aux.mak
  +    sed -i base/unix-aux.mak \
  +      -e "s@if ( test -f \$(INCLUDE)[^ ]* )@if ( true )@; s@INCLUDE=/usr/include@INCLUDE=/no-such-path@"
       sed "s@^ZLIBDIR=.*@ZLIBDIR=${zlib}/include@" -i configure.ac
     '';
   
  
positive.code: 
    NIX_ZLIB_INCLUDE = "${zlib}/include";
  
    patches = [
      (fetchTritonPatch {
        rev = "9e45913651939a22fb58254b2482ae4dcb4c8d56";
        file = "g/ghostscript/CVE-2016-8602.patch";
        sha256 = "d48abd753695111b8b19b34c7590c8ed27b2c678575ac34f55e406b05bac0023";
      })
      (fetchTritonPatch {
        rev = "16e1e82d413e33a3a46976f64c275c58a7dc3928";
        file = "ghostscript/urw-font-files.patch";
  
negative.code:   };
  
    meta = with stdenv.lib; {
      description = "PostScript interpreter";
      homepage = "http://www.ghostscript.com/";
      license = licenses.gpl3Plus;
      maintainers = with maintainers; [
        wkennington
  