mysql-shell_8: fix build with clang

This commit is contained in:
Aaron Jheng
2026-05-24 20:29:11 +08:00
parent 0ac780c690
commit 70854d52a1
+1 -1
View File
@@ -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";