mlterm: fix build on darwin/clang_16
This commit is contained in:
parent
e92039b55b
commit
6660f639da
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue