chmlib: Fix build on darwin

This commit is contained in:
Zhong Jianxin 2025-03-23 19:57:01 +08:00
parent e99af8a9da
commit 493bda5ef0

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ autoreconfHook ];
env = lib.optionalAttrs stdenv.cc.isGNU {
env = {
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
};