anchor.diff:        ln -s $out/lib/openjdk/bin $out/lib/openjdk/jre/bin
   
         # Set PaX markings
  -      exes=$(file $out/lib/openjdk/bin"/"* $jre/lib/openjdk/jre/bin"/"* 2> /dev/null | grep -E 'ELF.*(executable|shared object)' | sed -e 's/: .*$//')
  +      exes=$(file $out/lib/openjdk/bin/* $jre/lib/openjdk/jre/bin/* 2> /dev/null | grep -E 'ELF.*(executable|shared object)' | sed -e 's/: .*$//')
         echo "to mark: *$exes*"
         for file in $exes; do
           echo "marking *$file*"
  
positive.code: { stdenv, fetchurl, cpio, file, which, unzip, zip, xorg, cups, freetype
  , alsaLib, bootjdk, cacert, perl, liberation_ttf, fontconfig, zlib
  
  , minimal ? false } :
  let
    update = "60";
    build = "24";
  
negative.code: 
        ln -s $out/lib/openjdk/bin $out/bin
        ln -s $jre/lib/openjdk/jre/bin $jre/bin
      '';
  
      # FIXME: this is unnecessary once the multiple-outputs branch is merged.
      preFixup = ''
        prefix=$jre stripDirs "$stripDebugList" "''${stripDebugFlags:--S}"
        patchELF $jre
        propagatedNativeBuildInputs+=" $jre"
  
        # Propagate the setJavaClassPath setup hook from the JRE so that
        # any package that depends on the JRE has $CLASSPATH set up
        # properly.
        mkdir -p $jre/nix-support
        echo -n "${setJavaClassPath}" > $jre/nix-support/propagated-native-build-inputs
  
        # Set JAVA_HOME automatically.
        mkdir -p $out/nix-support
        cat <<EOF > $out/nix-support/setup-hook
        if [ -z "\$JAVA_HOME" ]; then export JAVA_HOME=$out/lib/openjdk; fi
        EOF
      '';
  
      postFixup = ''
  