Merge pull request #200097 from efx/fluent-bit-support-postgresql-out

fluent-bit: support PostgreSQL output

authored by Franz Pletz and committed by GitHub bc5ad970 c4756f61

+3 -3
+3 -3
pkgs/tools/misc/fluent-bit/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, flex, bison, systemd, openssl, libyaml }: 1 + { lib, stdenv, fetchFromGitHub, cmake, flex, bison, systemd, postgresql, openssl, libyaml }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fluent-bit"; ··· 13 13 14 14 nativeBuildInputs = [ cmake flex bison ]; 15 15 16 - buildInputs = [ openssl libyaml ] 16 + buildInputs = [ openssl libyaml postgresql ] 17 17 ++ lib.optionals stdenv.isLinux [ systemd ]; 18 18 19 - cmakeFlags = [ "-DFLB_METRICS=ON" "-DFLB_HTTP_SERVER=ON" ]; 19 + cmakeFlags = [ "-DFLB_METRICS=ON" "-DFLB_HTTP_SERVER=ON" "-DFLB_OUT_PGSQL=ON" ]; 20 20 21 21 # _FORTIFY_SOURCE requires compiling with optimization (-O) 22 22 NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ "-O" ]