Merge pull request #270651 from natsukium/afdko/fix-darwin

python311Packages.afdko: fix build on clang
This commit is contained in:
Bernardo Meurer
2023-11-29 11:22:12 -03:00
committed by GitHub
@@ -64,6 +64,11 @@ buildPythonPackage rec {
./use-dynamic-system-antlr4-runtime.patch
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang (toString [
"-Wno-error=incompatible-function-pointer-types"
"-Wno-error=int-conversion"
]);
# setup.py will always (re-)execute cmake in buildPhase
dontConfigure = true;