civetweb: enable IPv6

It's disabled by default...

This is necessary for prometheus-cpp to use IPv6 addresses (e.g.
`[::]:9999`).
This commit is contained in:
Cole Helbling 2022-04-07 11:16:40 -07:00
parent cade4603c3
commit 0d5da6a3ad

View file

@ -30,8 +30,9 @@ stdenv.mkDerivation rec {
'';
cmakeFlags = [
"-DCIVETWEB_ENABLE_CXX=ON"
"-DBUILD_SHARED_LIBS=ON"
"-DCIVETWEB_ENABLE_CXX=ON"
"-DCIVETWEB_ENABLE_IPV6=ON"
# The civetweb unit tests rely on downloading their fork of libcheck.
"-DCIVETWEB_BUILD_TESTING=OFF"