From 05e800dfee1aa5fb218920a84a7fbda59ae79083 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 6 Jan 2021 08:20:00 +0000 Subject: [PATCH] aws-c-io: fix build on darwin --- pkgs/development/libraries/aws-c-io/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/aws-c-io/default.nix b/pkgs/development/libraries/aws-c-io/default.nix index c93b2748a3e..eda87ba2c53 100644 --- a/pkgs/development/libraries/aws-c-io/default.nix +++ b/pkgs/development/libraries/aws-c-io/default.nix @@ -20,6 +20,8 @@ stdenv.mkDerivation rec { "-DCMAKE_MODULE_PATH=${aws-c-common}/lib/cmake" ]; + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-error"; + meta = with lib; { description = "AWS SDK for C module for IO and TLS"; homepage = "https://github.com/awslabs/aws-c-io";