diff --git a/pkgs/development/python-modules/psutil/default.nix b/pkgs/development/python-modules/psutil/default.nix index 59dd94b30188..8e479dfaca25 100644 --- a/pkgs/development/python-modules/psutil/default.nix +++ b/pkgs/development/python-modules/psutil/default.nix @@ -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