about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-01-06 08:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2021-01-06 08:20:00 +0000
commit05e800dfee1aa5fb218920a84a7fbda59ae79083 (patch)
tree7c187f435527ca82ab380e3996a8b3a4e79a366f /pkgs
parent4cf06c9f8c43a211adc4c6d1b790eae319cb698a (diff)
aws-c-io: fix build on darwin
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/aws-c-io/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/aws-c-io/default.nix b/pkgs/development/libraries/aws-c-io/default.nix
index c93b2748a3e20..eda87ba2c5346 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";