python-cffi: disable tests on musl :3

This commit is contained in:
Will Dietz 2018-01-13 13:45:20 -06:00
parent 6ae1bd4502
commit ab92d028f6

View File

@ -32,6 +32,7 @@ if isPyPy then null else buildPythonPackage rec {
# The tests use -Werror but with python3.6 clang detects some unreachable code.
NIX_CFLAGS_COMPILE = stdenv.lib.optionals stdenv.cc.isClang [ "-Wno-unused-command-line-argument" "-Wno-unreachable-code" ];
doCheck = !stdenv.hostPlatform.isMusl; # TODO: Investigate
checkPhase = ''
py.test
'';