From 70854d52a1cd54653ef667e0588d50c3e8fd826b Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Sat, 23 May 2026 09:49:41 +0800 Subject: [PATCH] mysql-shell_8: fix build with clang --- pkgs/development/tools/mysql-shell/8.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/mysql-shell/8.nix b/pkgs/development/tools/mysql-shell/8.nix index 0f1253bd4f61..196d6c009d50 100644 --- a/pkgs/development/tools/mysql-shell/8.nix +++ b/pkgs/development/tools/mysql-shell/8.nix @@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: { env = lib.optionalAttrs stdenv.cc.isClang { - NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-literal-operator"; + NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-literal-operator -Wno-error=nonnull"; } // lib.optionalAttrs stdenv.cc.isGNU { NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds";