From 137d95c9b2e57ddc91b8a5e198a64798b96fa644 Mon Sep 17 00:00:00 2001 From: Leo Gaskin Date: Tue, 7 Jul 2020 00:59:24 +0200 Subject: [PATCH] libwebsockets: Change default CMake flags for package The libwebsockets package is now built with support for IPv6 and SOCKS5 in addition to general plugin support. --- pkgs/development/libraries/libwebsockets/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libwebsockets/default.nix b/pkgs/development/libraries/libwebsockets/default.nix index ff6fdeb53838..c56781931f3f 100644 --- a/pkgs/development/libraries/libwebsockets/default.nix +++ b/pkgs/development/libraries/libwebsockets/default.nix @@ -16,7 +16,12 @@ let nativeBuildInputs = [ cmake ]; - cmakeFlags = [ "-DLWS_WITH_PLUGINS=ON" ]; + cmakeFlags = [ + "-DLWS_WITH_PLUGINS=ON" + "-DLWS_WITH_IPV6=ON" + "-DLWS_WITH_SOCKS5=ON" + ]; + NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=unused-but-set-variable"; meta = with stdenv.lib; {