Merge pull request #272064 from Atemu/fix/mlterm-darwin

mlterm: fix build on darwin/clang_16
This commit is contained in:
Weijia Wang 2023-12-05 00:50:34 +01:00 committed by GitHub
commit ad663fecd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)