pgroonga: build groonga with msgpack-c

pgroonga requires groonga with msgpack #272202.
This commit is contained in:
eth3lbert 2023-12-05 14:14:41 +08:00
parent c5b3e8fa80
commit 234b613656
No known key found for this signature in database

View File

@ -10,7 +10,17 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ postgresql msgpack-c groonga ];
buildInputs =
let
groonga-with-msgpack = groonga.overrideAttrs (oa: {
buildInputs = oa.buildInputs ++ [ msgpack-c ];
});
in
[
postgresql
msgpack-c
groonga-with-msgpack
];
makeFlags = [
"HAVE_MSGPACK=1"