leveldb: Add snappy dependency (#89852)
This is practically required. Without this option, snappy compression is not supported, so 1) newly created leveldb stores will take more space than needed 2) existing snappy-compressed stores won't be opened by tools built without the snappy support
This commit is contained in:
parent
926e8631bc
commit
5ca9a2d15b
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, fixDarwinDylibNames }:
|
||||
{ stdenv, fetchFromGitHub, fixDarwinDylibNames, snappy }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "leveldb";
|
||||
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "01kxga1hv4wp94agx5vl3ybxfw5klqrdsrb6p6ywvnjmjxm8322y";
|
||||
};
|
||||
|
||||
buildInputs = [ snappy ];
|
||||
|
||||
nativeBuildInputs = []
|
||||
++ stdenv.lib.optional stdenv.isDarwin [ fixDarwinDylibNames ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user