about summary refs log tree commit diff
path: root/pkgs/development/libraries/grpc
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-11-19 20:19:42 -0500
committerMario Rodas <marsam@users.noreply.github.com>2021-11-19 20:19:42 -0500
commitdf03e376fb24fc81b01863920803ace0eadc0469 (patch)
tree4cf4271f4043369a58e8424b6cdd3416802ef968 /pkgs/development/libraries/grpc
parent15060ba400cfdf71013b45c91b838e76ff661788 (diff)
grpc: fix build on aarch64
Diffstat (limited to 'pkgs/development/libraries/grpc')
-rw-r--r--pkgs/development/libraries/grpc/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/grpc/default.nix b/pkgs/development/libraries/grpc/default.nix
index c00e5a4e0d309..ae49974fefe11 100644
--- a/pkgs/development/libraries/grpc/default.nix
+++ b/pkgs/development/libraries/grpc/default.nix
@@ -81,7 +81,8 @@ stdenv.mkDerivation rec {
     export LD_LIBRARY_PATH=$(pwd)''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH
   '';
 
-  NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=unknown-warning-option";
+  NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=unknown-warning-option"
+    + lib.optionalString stdenv.isAarch64 "-Wno-error=format-security";
 
   enableParallelBuilds = true;