mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
syslogng: add option to enable grpc module (#341055)
This commit is contained in:
commit
08eab35e5f
@ -33,6 +33,9 @@
|
||||
, libesmtp
|
||||
, rdkafka
|
||||
, gperf
|
||||
, withGrpc ? true
|
||||
, grpc
|
||||
, protobuf
|
||||
}:
|
||||
let
|
||||
python-deps = ps: with ps; [
|
||||
@ -94,7 +97,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
paho-mqtt-c
|
||||
hiredis
|
||||
rdkafka
|
||||
];
|
||||
] ++ (lib.optionals withGrpc [ protobuf grpc ]);
|
||||
|
||||
configureFlags = [
|
||||
"--enable-manpages"
|
||||
@ -111,7 +114,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--with-systemd-journal=system"
|
||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||
"--without-compile-date"
|
||||
];
|
||||
] ++ (lib.optionals withGrpc [ "--enable-grpc" ]);
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user