From 8f5afc5bb681703f678e0658c737d16bac9a5c65 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Thu, 14 Feb 2019 10:26:07 +0000 Subject: [PATCH] aws-c-common: silence warnings that cause -Werror --- pkgs/development/libraries/aws-c-common/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/aws-c-common/default.nix b/pkgs/development/libraries/aws-c-common/default.nix index 9b9909c3835..dd200304ab6 100644 --- a/pkgs/development/libraries/aws-c-common/default.nix +++ b/pkgs/development/libraries/aws-c-common/default.nix @@ -13,6 +13,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; + NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [ + "-Wno-nullability-extension" + "-Wno-typedef-redefinition" + ]; + meta = with lib; { description = "AWS SDK for C common core"; homepage = https://github.com/awslabs/aws-c-common;