Commit a22671fa authored by Robert Scott's avatar Robert Scott
Browse files

python312Packages.cffi: disable checks for pkgsLLVM build

pkgsLLVM's check environment doesn't appear to supply a
cc
parent 0d17ba3e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 ];