anchor.diff: -{ stdenv, fetchurl, cpio, file, which, unzip, zip, xorg, cups, freetype, alsaLib, openjdk, cacert, perl } :
  +{ stdenv, fetchurl, cpio, file, which, unzip, zip, xorg, cups, freetype, alsaLib, openjdk, cacert, perl, liberation_ttf, fontconfig } :
   let
     update = "40";
     build = "25";
  
positive.code: 
      ln -s $out/lib/openjdk/bin $out/bin
      ln -s $jre/lib/openjdk/jre/bin $jre/bin
    '';
  
    meta = {
      homepage = http://openjdk.java.net/;
      license = stdenv.lib.licenses.gpl2;
      description = "The open-source Java Development Kit";
      maintainers = [ stdenv.lib.maintainers.cocreature ];
      platforms = stdenv.lib.platforms.linux;
    };
    
    passthru.home = "${openjdk8}/lib/openjdk";
  }; in openjdk8
  
negative.code:     "--with-build-number=b${build}"
      "--with-milestone=fcs"
    ];
    NIX_LDFLAGS= "-lfontconfig";
    buildFlags = "DEBUG_BINARIES=true all";
    installPhase = ''
      mkdir -p $out/lib/openjdk $out/share $jre/lib/openjdk
  
      cp -av build"/"*/images/j2sdk-image"/"* $out/lib/openjdk
  
      # Move some stuff to top-level.
      mv $out/lib/openjdk/include $out/include
      mv $out/lib/openjdk/man $out/share/man
  
      # jni.h expects jni_md.h to be in the header search path.
      ln -s $out/include/linux"/"*_md.h $out/include/
  
      # Remove some broken manpages.
      rm -rf $out/share/man/ja*
  