From ce042ea86f8219b936c3b0ac96e5329d5b4b22f7 Mon Sep 17 00:00:00 2001 From: Jonathan del Strother Date: Fri, 9 Dec 2022 13:27:09 +0000 Subject: [PATCH] manticoresearch: support indexing mysql sources --- pkgs/servers/search/manticoresearch/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/servers/search/manticoresearch/default.nix b/pkgs/servers/search/manticoresearch/default.nix index a2d77d03cc5c..2611798248a6 100644 --- a/pkgs/servers/search/manticoresearch/default.nix +++ b/pkgs/servers/search/manticoresearch/default.nix @@ -58,12 +58,16 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DWITH_GALERA=0" + "-DWITH_MYSQL=1" + "-DMYSQL_INCLUDE_DIR=${mariadb-connector-c.dev}/include/mariadb" + "-DMYSQL_LIB=${mariadb-connector-c.out}/lib/mariadb/libmysqlclient.a" ]; meta = with lib; { description = "Easy to use open source fast database for search"; homepage = "https://manticoresearch.com"; license = licenses.gpl2; + mainProgram = "searchd"; maintainers = with maintainers; [ jdelStrother ]; platforms = platforms.all; };