From 4e9985374e5da72fb07272c691233d31686acab9 Mon Sep 17 00:00:00 2001 From: eth3lbert Date: Wed, 6 Dec 2023 10:42:31 +0800 Subject: [PATCH] groonga: add msgpack-c as default dependency According to the upstream documentation: https://groonga.org/docs/install/debian.html#build-from-source, msgpack should be added as a dependency by default. --- pkgs/servers/search/groonga/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/search/groonga/default.nix b/pkgs/servers/search/groonga/default.nix index 49cc74bafc2a..0acb6e1cb564 100644 --- a/pkgs/servers/search/groonga/default.nix +++ b/pkgs/servers/search/groonga/default.nix @@ -1,5 +1,5 @@ -{ lib, stdenv, cmake, fetchurl, kytea, mecab, pkg-config, rapidjson, testers, xxHash, zstd, postgresqlPackages -, suggestSupport ? false, zeromq, libevent, msgpack, openssl +{ lib, stdenv, cmake, fetchurl, kytea, msgpack-c, mecab, pkg-config, rapidjson, testers, xxHash, zstd, postgresqlPackages +, suggestSupport ? false, zeromq, libevent, openssl , lz4Support ? false, lz4 , zlibSupport ? true, zlib }: @@ -29,6 +29,7 @@ stdenv.mkDerivation (finalAttrs: { zstd mecab kytea + msgpack-c ] ++ lib.optionals lz4Support [ lz4 ] ++ lib.optional zlibSupport [ @@ -36,7 +37,6 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals suggestSupport [ zeromq libevent - msgpack ]; env.NIX_CFLAGS_COMPILE = lib.optionalString zlibSupport "-I${zlib.dev}/include";