From f5fe71325fb86ebcfb0a6e5ad71b4e3948e6c94c Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Fri, 20 Aug 2021 21:30:22 -0700 Subject: [PATCH] s2n-tls: disable -Werror This is causing errors under gcc 11. --- pkgs/development/libraries/s2n-tls/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/s2n-tls/default.nix b/pkgs/development/libraries/s2n-tls/default.nix index 944c3477fbf1..be4b9710533b 100644 --- a/pkgs/development/libraries/s2n-tls/default.nix +++ b/pkgs/development/libraries/s2n-tls/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_SKIP_BUILD_RPATH=OFF" + "-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF" # disable -Werror ]; propagatedBuildInputs = [ openssl ]; # s2n-config has find_dependency(LibCrypto).