From 3e8b2f5cc6d895db3edc2f2b6e6fc71e40db8f43 Mon Sep 17 00:00:00 2001 From: zeuner Date: Wed, 20 Sep 2023 09:12:40 +0200 Subject: [PATCH] grpc: add missing whitespace in aarch64-darwin NIX_CFLAGS_COMPILE (#256057) Co-authored-by: Isidor Zeuner --- pkgs/development/libraries/grpc/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/grpc/default.nix b/pkgs/development/libraries/grpc/default.nix index 77bba280df96..0532907ac153 100644 --- a/pkgs/development/libraries/grpc/default.nix +++ b/pkgs/development/libraries/grpc/default.nix @@ -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;