clutter: fix build with clang 16

This commit is contained in:
Weijia Wang
2023-11-07 01:30:27 +01:00
parent cba493538e
commit 1f8573a0bf
@@ -68,6 +68,10 @@ stdenv.mkDerivation rec {
"--enable-quartz-backend=yes"
];
env = lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
};
#doCheck = true; # no tests possible without a display
passthru = {