anchor.diff:                 tools/bin/sstablerepairedset \
                  tools/bin/sstablesplit \
                  tools/bin/token-generator; do
  -
  -      # check if file exists because some bin tools don't exist across all
  -      # cassandra versions
  +      # Check if file exists because some don't exist across all versions
         if [ -f $out/$cmd ]; then
  -        makeWrapper $out/$cmd $out/bin/$(${coreutils}/bin/basename "$cmd") \
  +        makeWrapper $out/$cmd $out/bin/$(basename "$cmd") \
             --suffix-each LD_LIBRARY_PATH : ${libPath} \
             --prefix PATH : ${binPath} \
             --set JAVA_HOME ${jre}
  
positive.code:     url = "mirror://apache/cassandra/${version}/apache-${name}-bin.tar.gz";
    };
  
    nativeBuildInputs = [ makeWrapper ];
  
    installPhase = ''
      mkdir $out
  
negative.code:                bin/sstablescrub \
                 bin/sstableupgrade \
                 bin/sstableutil \
                 bin/sstableverify; do
        # Check if file exists because some don't exist across all versions
        if [ -f $out/$cmd ]; then
          wrapProgram $out/bin/$(basename "$cmd") \
            --suffix-each LD_LIBRARY_PATH : ${libPath} \
            --prefix PATH : ${binPath} \
            --set JAVA_HOME ${jre}
        fi
      done
  
      for cmd in tools/bin/cassandra-stress \
                 tools/bin/cassandra-stressd \
                 tools/bin/sstabledump \
                 tools/bin/sstableexpiredblockers \
  