rocksdb: 6.23.3 -> 6.25.3

This commit is contained in:
R. Ryantm 2021-10-29 01:56:53 +00:00 committed by Mario Rodas
parent ed756730b7
commit 398b56f74c

View File

@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "rocksdb";
version = "6.23.3";
version = "6.25.3";
src = fetchFromGitHub {
owner = "facebook";
repo = pname;
rev = "v${version}";
sha256 = "sha256-SsDqhjdCdtIGNlsMj5kfiuS3zSGwcxi4KV71d95h7yk=";
sha256 = "sha256-9Fs+znK7oEEBoPbRhNdVHuangBpuIVEvlxJNeNoEJZA=";
};
nativeBuildInputs = [ cmake ninja ];
@ -30,7 +30,8 @@ stdenv.mkDerivation rec {
buildInputs = lib.optional enableJemalloc jemalloc;
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=deprecated-copy -Wno-error=pessimizing-move";
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=deprecated-copy -Wno-error=pessimizing-move"
+ lib.optionalString stdenv.cc.isClang "-Wno-error=unused-private-field";
cmakeFlags = [
"-DPORTABLE=1"