anchor.diff:    CMAKE_CXX_FLAGS = "-std=gnu++11";
     JEMALLOC_LIB = stdenv.lib.optionalString (malloc == jemalloc) "-ljemalloc";
   
  +  makeFlags = [
  +    "DEBUG_LEVEL=0"
  +  ];
  +
     buildFlags = [
  +    "shared_lib"
       "static_lib"
  -    "shared_lib"
     ];
   
     installFlags = [
       "INSTALL_PATH=\${out}"
  +  ];
  +
  +  installTargets = [
  +    "install-shared"
  +    "install-static"
     ];
   
     postInstall = ''
  
positive.code: 
  # Optional Arguments
  , snappy ? null, google-gflags ? null, zlib ? null, bzip2 ? null, lz4 ? null
  , numactl ? null
  
  # Malloc implementation
  , jemalloc ? null, gperftools ? null
  
negative.code: in
  stdenv.mkDerivation rec {
    name = "rocksdb-${version}";
    version = "4.2";
  
    src = fetchFromGitHub {
      owner = "facebook";
      repo = "rocksdb";
      rev = "v${version}";
      sha256 = "0k6zhx0xiyfr5r921kn43abm1l4dvy23w13242g2kjnasfhzzjpx";
    };
  
    buildInputs = [ snappy google-gflags zlib bzip2 lz4 zstd numactl malloc ];
  
    postPatch = ''
      # Hack to fix typos
  