anchor.diff:      installPhase = ''
         mkdir -p $out/lib/openjdk $out/share $jre/lib/openjdk
   
  -      cp -av build"/"*/images/j2sdk-image"/"* $out/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/
  +      ln -s $out/include/linux/*_md.h $out/include/
   
         # Remove some broken manpages.
         rm -rf $out/share/man/ja*
  
positive.code: 
        ln -s $out/lib/openjdk/bin $out/bin
        ln -s $jre/lib/openjdk/jre/bin $jre/bin
      '';
  
      postFixup = ''
  
negative.code:       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/: .*$//')
        echo "to mark: *$exes*"
        for file in $exes; do
          echo "marking *$file*"
  