pythonPackages.psutil: fix fix for darwin build
PR #82524 correctly diagnosed the problem, but slightly fluffed the boolean logic (disable tests for Darwin as well as non-x86_64 arch).
This commit is contained in:
parent
c87f619edd
commit
73f7453bfb
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
|
||||
# arch doesn't report frequency is the same way
|
||||
# tests segfaults on darwin https://github.com/giampaolo/psutil/issues/1715
|
||||
doCheck = stdenv.isDarwin || stdenv.isx86_64;
|
||||
doCheck = !stdenv.isDarwin && stdenv.isx86_64;
|
||||
checkInputs = [ pytest ]
|
||||
++ lib.optionals isPy27 [ mock ipaddress ];
|
||||
# out must be referenced as test import paths are relative
|
||||
|
Loading…
x
Reference in New Issue
Block a user