From efd6f2ac3085883b07b539227180550fc2456838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 4 Jun 2023 20:49:10 +0200 Subject: [PATCH] google-cloud-cpp: downgrade a warning on aarch64-linux I don't know why it started now, but it only happens in tests, and generally -Werror is more suitable for upstreams than downstreams. --- pkgs/development/libraries/google-cloud-cpp/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/google-cloud-cpp/default.nix b/pkgs/development/libraries/google-cloud-cpp/default.nix index e7445bd53e1a..1be64b11d991 100644 --- a/pkgs/development/libraries/google-cloud-cpp/default.nix +++ b/pkgs/development/libraries/google-cloud-cpp/default.nix @@ -68,6 +68,9 @@ stdenv.mkDerivation rec { protobuf ]; + # https://hydra.nixos.org/build/222679737/nixlog/3/tail + NIX_CFLAGS_COMPILE = if stdenv.isAarch64 then "-Wno-error=maybe-uninitialized" else null; + doInstallCheck = true; preInstallCheck =