grpc_cli: add aarch64-linux support

This commit is contained in:
Weijia Wang 2023-02-23 16:43:39 +02:00
parent fe1f564ac5
commit 35371e3fe1

View File

@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [ curl numactl ];
cmakeFlags = [ "-DgRPC_BUILD_TESTS=ON" ];
makeFlags = [ "grpc_cli" ];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isAarch64 "-Wno-error=format-security";
installPhase = ''
runHook preInstall
@ -26,6 +27,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/grpc/grpc";
license = licenses.asl20;
maintainers = with maintainers; [ doriath ];
platforms = [ "x86_64-linux" ];
platforms = platforms.linux;
};
}