diff options
author | Cole Helbling <cole.e.helbling@outlook.com> | 2022-04-07 11:16:40 -0700 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2022-04-07 11:18:54 -0700 |
commit | 0d5da6a3ad41ed5987b290e24431e1c7db1ebb5f (patch) | |
tree | 6dd791c4c2dd9445c54bc89fca09718ad43360d0 /pkgs | |
parent | cade4603c36cc9a100c61722f07bb879eef35847 (diff) |
civetweb: enable IPv6
It's disabled by default... This is necessary for prometheus-cpp to use IPv6 addresses (e.g. `[::]:9999`).
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/civetweb/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/civetweb/default.nix b/pkgs/development/libraries/civetweb/default.nix index bf737972612be..3222702f5a1a7 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" |