diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2023-11-29 11:22:12 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-29 11:22:12 -0300 |
commit | 804a35cc2f6f0ebd712b21b6bbd26527ae6428cb (patch) | |
tree | 986c49a4c5442576281f696bb9a2ac4a44c20462 /pkgs | |
parent | f6d015e944d2eaefcac3440fb49b943c68d56f62 (diff) | |
parent | fa1309bae91d1ee0e09258b4a303e328ab456dc0 (diff) | |
download | nixlib-804a35cc2f6f0ebd712b21b6bbd26527ae6428cb.tar nixlib-804a35cc2f6f0ebd712b21b6bbd26527ae6428cb.tar.gz nixlib-804a35cc2f6f0ebd712b21b6bbd26527ae6428cb.tar.bz2 nixlib-804a35cc2f6f0ebd712b21b6bbd26527ae6428cb.tar.lz nixlib-804a35cc2f6f0ebd712b21b6bbd26527ae6428cb.tar.xz nixlib-804a35cc2f6f0ebd712b21b6bbd26527ae6428cb.tar.zst nixlib-804a35cc2f6f0ebd712b21b6bbd26527ae6428cb.zip |
Merge pull request #270651 from natsukium/afdko/fix-darwin
python311Packages.afdko: fix build on clang
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/afdko/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/afdko/default.nix b/pkgs/development/python-modules/afdko/default.nix index a821e9d87890..556261277ea0 100644 --- a/pkgs/development/python-modules/afdko/default.nix +++ b/pkgs/development/python-modules/afdko/default.nix @@ -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; |