pmacct: set path to mysql_config
This commit is contained in:
parent
9bbe7a06fd
commit
7ac43898fe
@ -19,7 +19,7 @@ assert withSQLite -> sqlite != null;
|
||||
assert withPgSQL -> postgresql != null;
|
||||
assert withMysql -> libmysqlclient != null;
|
||||
|
||||
let inherit (stdenv.lib) optional; in
|
||||
let inherit (stdenv.lib) getDev optional optionalString; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.7.5";
|
||||
@ -40,6 +40,9 @@ stdenv.mkDerivation rec {
|
||||
++ optional withPgSQL postgresql
|
||||
++ optional withMysql [ libmysqlclient zlib ];
|
||||
|
||||
MYSQL_CONFIG =
|
||||
optionalString withMysql "${getDev libmysqlclient}/bin/mysql_config";
|
||||
|
||||
configureFlags = [
|
||||
"--with-pcap-includes=${libpcap}/include"
|
||||
] ++ optional withJansson "--enable-jansson"
|
||||
|
Loading…
Reference in New Issue
Block a user