tora: use mysql.connector-c

This commit is contained in:
Robin Gloster 2017-12-28 14:06:45 +01:00
parent 86c7db0ac4
commit add8d3282e

View File

@ -17,7 +17,7 @@ in mkDerivation rec {
nativeBuildInputs = [ cmake extra-cmake-modules makeWrapper ];
buildInputs = [
boost doxygen graphviz loki mysql openssl postgresql qscintillaLib qtbase
boost doxygen graphviz loki mysql.connector-c openssl postgresql qscintillaLib qtbase
];
preConfigure = ''
@ -51,6 +51,8 @@ in mkDerivation rec {
"-lssl"
];
NIX_CFLAGS_COMPILE = [ "-L${mysql.connector-c}/lib/mysql" "-I${mysql.connector-c}/include/mysql" ];
postFixup = ''
wrapProgram $out/bin/tora \
--prefix PATH : ${lib.getBin graphviz}/bin