anchor.diff:        ./paxctl.patch
         ./read-truststore-from-env.patch
         ./currency-date-range.patch
  -      ./linux-4.0.patch
       ];
   
       NIX_NO_SELF_RPATH = true;
  
positive.code:     else
        throw "openjdk requires i686-linux or x86_64 linux";
  
    update = "80";
  
    build = "32";
  
    # On x86 for heap sizes over 700MB disable SEGMEXEC and PAGEEXEC as well.
    paxflags = if stdenv.isi686 then "msp" else "m";
  
negative.code:   repover = "jdk7u${update}-b${build}";
    jdk7 = fetchurl {
      url = "${baseurl}/archive/${repover}.tar.gz";
      sha256 = "1fs0vphf0z2hi51hzlw3ix80b9byah1mzhy5csh9j5f200q3ykk5";
    };
    langtools = fetchurl {
      url = "${baseurl}/langtools/archive/${repover}.tar.gz";
      sha256 = "0n2cp0az2fyhaf34fmhiy57mdyp78596z7426alrww0jrv5491az";
    };
    hotspot = fetchurl {
      url = "${baseurl}/hotspot/archive/${repover}.tar.gz";
      sha256 = "1l38wniq69vqlfk2rz8bmwly9wxrvlizf95x3wm2d0m5fsqsxhri";
    };
    corba = fetchurl {
      url = "${baseurl}/corba/archive/${repover}.tar.gz";
      sha256 = "0wys2zs1wvfiggvmqfmmgfamdqm5jln1sflc18w7bfzn4i77yy5j";
    };
    jdk = fetchurl {
      url = "${baseurl}/jdk/archive/${repover}.tar.gz";
      sha256 = "094fdj3vlfgd6v8y0x03l6p5byvrskxcdw62xpp2bdp4z41ag79m";
    };
    jaxws = fetchurl {
      url = "${baseurl}/jaxws/archive/${repover}.tar.gz";
      sha256 = "0bh61mxxxj8pvg6yjs4w53an6zjyrg242b8j0w4mlsjldrrv1wy4";
    };
    jaxp = fetchurl {
      url = "${baseurl}/jaxp/archive/${repover}.tar.gz";
      sha256 = "054qwx67z6ailrr5gx6zhp3090zc607bak7wlfpqbvvqr1dqqq5x";
    };
    openjdk = stdenv.mkDerivation rec {
      name = "openjdk-7u${update}b${build}";
  