summary refs log tree commit diff
path: root/pkgs/development/libraries/aws-c-io
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/development/libraries/aws-c-io
parent4cf06c9f8c43a211adc4c6d1b790eae319cb698a (diff)
downloadnixpkgs-05e800dfee1aa5fb218920a84a7fbda59ae79083.tar
nixpkgs-05e800dfee1aa5fb218920a84a7fbda59ae79083.tar.gz
nixpkgs-05e800dfee1aa5fb218920a84a7fbda59ae79083.tar.bz2
nixpkgs-05e800dfee1aa5fb218920a84a7fbda59ae79083.tar.lz
nixpkgs-05e800dfee1aa5fb218920a84a7fbda59ae79083.tar.xz
nixpkgs-05e800dfee1aa5fb218920a84a7fbda59ae79083.tar.zst
nixpkgs-05e800dfee1aa5fb218920a84a7fbda59ae79083.zip
aws-c-io: fix build on darwin
Diffstat (limited to 'pkgs/development/libraries/aws-c-io')
-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 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";