anchor.diff:  
     ${if enableLite then "LIBNAME" else null} = "librocksdb_lite";
     ${if enableLite then "CXXFLAGS" else null} = "-DROCKSDB_LITE=1";
  +  
  +  buildAndInstallFlags = [
  +    "USE_RTTI=1"
  +    "DEBUG_LEVEL=0"
  +    "DISABLE_WARNING_AS_ERROR=1"     
  +  ];
   
  -  buildFlags = [
  -    "DEBUG_LEVEL=0"
  +  buildFlags = buildAndInstallFlags ++ [
       "shared_lib"
       "static_lib"
     ];
   
  -  installFlags = [
  +  installFlags = buildAndInstallFlags ++ [
       "INSTALL_PATH=\${out}"
  -    "DEBUG_LEVEL=0"
       "install-shared"
       "install-static"
     ];
  
positive.code:     description = "A library that provides an embeddable, persistent key-value store for fast storage";
      license = licenses.bsd3;
      platforms = platforms.allBut [ "i686-linux" ];
      maintainers = with maintainers; [ wkennington ];
    };
  }
  
negative.code: in
  stdenv.mkDerivation rec {
    name = "rocksdb-${version}";
    version = "5.10.2";
  
    src = fetchFromGitHub {
      owner = "facebook";
      repo = "rocksdb";
      rev = "v${version}";
      sha256 = "00qnd56v4qyzxg0b3ya3flf2jhbbfaibj1y53bd5ciaw3af6zxnd";
    };
    
    nativeBuildInputs = [ which perl ];
    buildInputs = [ snappy google-gflags zlib bzip2 lz4 malloc fixDarwinDylibNames ];
  
    postPatch = ''
  