1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

grpc: add missing whitespace in aarch64-darwin NIX_CFLAGS_COMPILE (#256057)

Co-authored-by: Isidor Zeuner <nix@quidecco.pl>
This commit is contained in:
zeuner 2023-09-20 09:12:40 +02:00 committed by GitHub
parent 6a1b459f0b
commit 3e8b2f5cc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,8 +94,13 @@ stdenv.mkDerivation rec {
export LD_LIBRARY_PATH=$(pwd)''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH
'';
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=unknown-warning-option"
+ lib.optionalString stdenv.isAarch64 "-Wno-error=format-security";
env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " (
lib.optionals stdenv.cc.isClang [
"-Wno-error=unknown-warning-option"
] ++ lib.optionals stdenv.isAarch64 [
"-Wno-error=format-security"
]
);
enableParallelBuilds = true;