about summary refs log tree commit diff
path: root/pkgs/tools/system/rsyslog
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-04-22 16:08:53 -0700
committerWilliam A. Kennington III <william@wkennington.com>2015-04-22 16:08:53 -0700
commit781d77d507a05ed142d71ae4873ee7ff7e6d363c (patch)
tree523f9f24edf3649a48cdd399562afe3564156d6c /pkgs/tools/system/rsyslog
parent5129c67fd38dfdc3591d9ea1274b2ed432962b2a (diff)
downloadnixlib-781d77d507a05ed142d71ae4873ee7ff7e6d363c.tar
nixlib-781d77d507a05ed142d71ae4873ee7ff7e6d363c.tar.gz
nixlib-781d77d507a05ed142d71ae4873ee7ff7e6d363c.tar.bz2
nixlib-781d77d507a05ed142d71ae4873ee7ff7e6d363c.tar.lz
nixlib-781d77d507a05ed142d71ae4873ee7ff7e6d363c.tar.xz
nixlib-781d77d507a05ed142d71ae4873ee7ff7e6d363c.tar.zst
nixlib-781d77d507a05ed142d71ae4873ee7ff7e6d363c.zip
rsyslog: Use libmysql instead of mysql
Diffstat (limited to 'pkgs/tools/system/rsyslog')
-rw-r--r--pkgs/tools/system/rsyslog/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/system/rsyslog/default.nix b/pkgs/tools/system/rsyslog/default.nix
index 28e7abeeb9f3..a9fdcf6fa64d 100644
--- a/pkgs/tools/system/rsyslog/default.nix
+++ b/pkgs/tools/system/rsyslog/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, pkgconfig, libestr, json_c, zlib, pythonPackages
-, krb5 ? null, systemd ? null, jemalloc ? null, mysql ? null, postgresql ? null
+, krb5 ? null, systemd ? null, jemalloc ? null, libmysql ? null, postgresql ? null
 , libdbi ? null, net_snmp ? null, libuuid ? null, curl ? null, gnutls ? null
 , libgcrypt ? null, liblognorm ? null, openssl ? null, librelp ? null
 , libgt ? null, liblogging ? null, libnet ? null, hadoop ? null, rdkafka ? null
@@ -20,10 +20,10 @@ stdenv.mkDerivation rec {
 
   buildInputs = [
     pkgconfig libestr json_c zlib pythonPackages.docutils
-    krb5 jemalloc postgresql libdbi net_snmp libuuid curl gnutls
+    krb5 jemalloc libmysql postgresql libdbi net_snmp libuuid curl gnutls
     libgcrypt liblognorm openssl librelp libgt liblogging libnet hadoop rdkafka
     libmongo-client czmq rabbitmq-c hiredis
-  ] ++ stdenv.lib.optional stdenv.isLinux systemd ++ stdenv.lib.optional (mysql != null) mysql.lib;
+  ] ++ stdenv.lib.optional stdenv.isLinux systemd;
 
   configureFlags = [
     "--sysconfdir=/etc"
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
     (mkFlag (jemalloc != null)        "jemalloc")
     (mkFlag true                      "unlimited-select")
     (mkFlag true                      "usertools")
-    (mkFlag (mysql != null)           "mysql")
+    (mkFlag (libmysql != null)        "mysql")
     (mkFlag (postgresql != null)      "pgsql")
     (mkFlag (libdbi != null)          "libdbi")
     (mkFlag (net_snmp != null)        "snmp")