python312Packages.cffi: disable checks for pkgsLLVM build

pkgsLLVM's check environment doesn't appear to supply a
cc
This commit is contained in:
Robert Scott
2025-01-12 22:38:44 +00:00
parent 0d17ba3e69
commit a22671fab0
@@ -49,7 +49,7 @@ else
# The tests use -Werror but with python3.6 clang detects some unreachable code.
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument -Wno-unreachable-code -Wno-c++11-narrowing";
doCheck = !stdenv.hostPlatform.isMusl;
doCheck = !(stdenv.hostPlatform.isMusl || stdenv.hostPlatform.useLLVM or false);
nativeCheckInputs = [ pytestCheckHook ];