diff options
author | Rick van Schijndel <rol3517@gmail.com> | 2022-05-03 22:09:51 +0200 |
---|---|---|
committer | Rick van Schijndel <rol3517@gmail.com> | 2022-05-03 22:10:31 +0200 |
commit | d9d51eec4f3eb119bdb397d96893a1f1a3cd3ac6 (patch) | |
tree | 013bf86cafcb4c2b0b3fcdd52dff02830f5e903e /pkgs/development/libraries/libwebsockets/default.nix | |
parent | 14d54882216532cf1eb3c7eee262e6f854aca996 (diff) |
libwebsockets: disable -Werror
Doesn't make sense to enable that in nixpkgs.
Diffstat (limited to 'pkgs/development/libraries/libwebsockets/default.nix')
-rw-r--r-- | pkgs/development/libraries/libwebsockets/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libwebsockets/default.nix b/pkgs/development/libraries/libwebsockets/default.nix index 8b059d58a72d9..82f5614458f0b 100644 --- a/pkgs/development/libraries/libwebsockets/default.nix +++ b/pkgs/development/libraries/libwebsockets/default.nix @@ -32,13 +32,12 @@ let "-DLWS_WITH_PLUGINS=ON" "-DLWS_WITH_IPV6=ON" "-DLWS_WITH_SOCKS5=ON" + "-DDISABLE_WERROR=ON" # Required since v4.2.0 "-DLWS_BUILD_HASH=no_hash" ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "-DLWS_WITHOUT_TESTAPPS=ON" ++ lib.optional withExternalPoll "-DLWS_WITH_EXTERNAL_POLL=ON"; - NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=unused-but-set-variable"; - postInstall = '' rm -r ${placeholder "out"}/share/libwebsockets-test-server ''; |