about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-11-20 06:41:46 -0500
committerGitHub <noreply@github.com>2021-11-20 06:41:46 -0500
commit2e9e94a32d1ea3113e89906b3c16968d082cd234 (patch)
tree5da99c016b26b2ce2cf6c2eef092cedb806ba874 /pkgs
parenta03719be2e676041847e1b59dafa8ab668fa2d2a (diff)
parentdf03e376fb24fc81b01863920803ace0eadc0469 (diff)
Merge pull request #146720 from marsam/fix-grpc-aarch64
grpc: fix build on aarch64
Diffstat (limited to 'pkgs')
-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;