From 0d5da6a3ad41ed5987b290e24431e1c7db1ebb5f Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 7 Apr 2022 11:16:40 -0700 Subject: [PATCH] civetweb: enable IPv6 It's disabled by default... This is necessary for prometheus-cpp to use IPv6 addresses (e.g. `[::]:9999`). --- pkgs/development/libraries/civetweb/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/civetweb/default.nix b/pkgs/development/libraries/civetweb/default.nix index bf737972612..3222702f5a1 100644 --- a/pkgs/development/libraries/civetweb/default.nix +++ b/pkgs/development/libraries/civetweb/default.nix @@ -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"