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:
@@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, fixDarwinDylibNames }:
|
{ stdenv, fetchFromGitHub, fixDarwinDylibNames, snappy }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "leveldb";
|
pname = "leveldb";
|
||||||
@@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "01kxga1hv4wp94agx5vl3ybxfw5klqrdsrb6p6ywvnjmjxm8322y";
|
sha256 = "01kxga1hv4wp94agx5vl3ybxfw5klqrdsrb6p6ywvnjmjxm8322y";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ snappy ];
|
||||||
|
|
||||||
nativeBuildInputs = []
|
nativeBuildInputs = []
|
||||||
++ stdenv.lib.optional stdenv.isDarwin [ fixDarwinDylibNames ];
|
++ stdenv.lib.optional stdenv.isDarwin [ fixDarwinDylibNames ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user