anchor.diff:          };
   
           nativeBuildInputs = [ maven cmake pkgconfig ];
  -        buildInputs = [ fuse snappy zlib bzip2 openssl protobuf2_5 ];
  +        buildInputs = [ fuse snappy zlib bzip2 opensslPkg protobuf2_5 ];
           # most of the hardcoded pathes are fixed in 2.9.x and 3.0.0, this list of patched files might be reduced when 2.7.x and 2.8.x will be deprecated
           postPatch = ''
             for file in hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/HardLink.java \
  
positive.code: }:
  
  let
    common = { version, sha256, dependencies-sha256, tomcat, openssl ? openssl }:
      let
        # compile the hadoop tarball from sources, it requires some patches
        binary-distributon = stdenv.mkDerivation rec {
  
negative.code:               mv $n $out/bin.wrapped/
                makeWrapper $out/bin.wrapped/$(basename $n) $n \
                  --prefix PATH : "${stdenv.lib.makeBinPath [ which jre bash coreutils ]}" \
                  --prefix JAVA_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ opensslPkg snappy zlib bzip2 ]}" \
                  --set JAVA_HOME "${jre}" \
                  --set HADOOP_PREFIX "$out"
              fi
  