mlterm: fix build on darwin/clang_16

This commit is contained in:
Atemu 2023-12-02 19:21:39 +01:00
parent e92039b55b
commit 6660f639da

View file

@ -165,6 +165,10 @@ in stdenv.mkDerivation (finalAttrs: {
--replace "-m 4755 -o root" " "
'';
env = lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = "-Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types";
};
configureFlags = [
(withFeaturesList "type-engines" enableTypeEngines)
(withFeaturesList "tools" enableTools)