mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
pythonPackages.psutil: fix build on darwin
Disable tests because it segfaults on darwin
This commit is contained in:
parent
3a8d05747b
commit
b86030608b
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue