pythonPackages.psutil: fix build on darwin

Disable tests because it segfaults on darwin
This commit is contained in:
Mario Rodas 2020-03-13 20:20:20 -05:00 committed by Jon
parent 3a8d05747b
commit b86030608b

View File

@ -15,7 +15,8 @@ buildPythonPackage rec {
};
# arch doesn't report frequency is the same way
doCheck = stdenv.isx86_64;
# tests segfaults on darwin https://github.com/giampaolo/psutil/issues/1715
doCheck = stdenv.isDarwin || stdenv.isx86_64;
checkInputs = [ pytest ]
++ lib.optionals isPy27 [ mock ipaddress ];
# out must be referenced as test import paths are relative