about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@sap.com>2022-08-31 17:28:35 +0200
committerSandro Jäckel <sandro.jaeckel@sap.com>2022-08-31 18:04:18 +0200
commitf5f1d11b9e5f33b5037fe896e69510d0fcad86c3 (patch)
tree8dac2995d514c802998659f8af6d56da0817fd47
parent08c6aef915d0fb943de7da69b8fb1982eeeb1333 (diff)
aws-sdk-cpp: ignore openssl 3 deprecation warnings
-rw-r--r--pkgs/development/libraries/aws-sdk-cpp/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/aws-sdk-cpp/default.nix b/pkgs/development/libraries/aws-sdk-cpp/default.nix
index 7ae09460addad..5d5c5e9560261 100644
--- a/pkgs/development/libraries/aws-sdk-cpp/default.nix
+++ b/pkgs/development/libraries/aws-sdk-cpp/default.nix
@@ -99,6 +99,11 @@ stdenv.mkDerivation rec {
   ] ++ lib.optional (apis != ["*"])
     "-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";
 
+  NIX_CFLAGS_COMPILE = [
+    # openssl 3 generates several deprecation warnings
+    "-Wno-error=deprecated-declarations"
+  ];
+
   # aws-cpp-sdk-core-tests/aws/client/AWSClientTest.cpp
   # seem to have a datarace
   enableParallelChecking = false;