pythonPackages.psutil: fix build on darwin
Disable tests because it segfaults on darwin
This commit is contained in:
parent
3a8d05747b
commit
b86030608b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user