mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #64987 from luispedro/remove_rocksdb_gflags_dep
rocksdb: Remove gflags dependency
This commit is contained in:
commit
35d4557075
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, lib, bzip2, cmake, gflags, lz4, snappy, zlib, zstd, enableLite ? false }:
|
||||
{ stdenv, fetchFromGitHub, lib, bzip2, cmake, lz4, snappy, zlib, zstd, enableLite ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rocksdb";
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ bzip2 gflags lz4 snappy zlib zstd ];
|
||||
buildInputs = [ bzip2 lz4 snappy zlib zstd ];
|
||||
|
||||
patches = [ ./0001-findzlib.patch ];
|
||||
|
||||
|
@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
|
|||
"-DWITH_SNAPPY=1"
|
||||
"-DWITH_ZLIB=1"
|
||||
"-DWITH_ZSTD=1"
|
||||
"-DWITH_GFLAGS=0"
|
||||
(lib.optional
|
||||
(stdenv.hostPlatform.system == "i686-linux"
|
||||
|| stdenv.hostPlatform.system == "x86_64-linux")
|
||||
|
|
Loading…
Reference in a new issue