Skip to content

Commit a22671f

Browse files
committed
python312Packages.cffi: disable checks for pkgsLLVM build
pkgsLLVM's check environment doesn't appear to supply a cc
1 parent 0d17ba3 commit a22671f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/development/python-modules/cffi/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ else
4949
# The tests use -Werror but with python3.6 clang detects some unreachable code.
5050
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument -Wno-unreachable-code -Wno-c++11-narrowing";
5151

52-
doCheck = !stdenv.hostPlatform.isMusl;
52+
doCheck = !(stdenv.hostPlatform.isMusl || stdenv.hostPlatform.useLLVM or false);
5353

5454
nativeCheckInputs = [ pytestCheckHook ];
5555

0 commit comments

Comments
 (0)