summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorCole Helbling <cole.e.helbling@outlook.com>2022-04-07 11:16:40 -0700
committerCole Helbling <cole.e.helbling@outlook.com>2022-04-07 11:18:54 -0700
commit0d5da6a3ad41ed5987b290e24431e1c7db1ebb5f (patch)
tree6dd791c4c2dd9445c54bc89fca09718ad43360d0 /pkgs
parentcade4603c36cc9a100c61722f07bb879eef35847 (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.nix3
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"