mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
hupper: fix tests on Darwin
This commit is contained in:
parent
d5dceefa71
commit
73c30b68e9
@ -1,4 +1,4 @@
|
||||
{ buildPythonPackage, fetchPypi, python
|
||||
{ stdenv, buildPythonPackage, fetchPypi, python
|
||||
, pytest, pytestcov, watchdog, mock
|
||||
}:
|
||||
|
||||
@ -16,5 +16,7 @@ buildPythonPackage rec {
|
||||
py.test
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest pytestcov watchdog mock ];
|
||||
# FIXME: watchdog dependency is disabled on Darwin because of #31865, which causes very silent
|
||||
# segfaults in the testsuite that end up failing the tests in a background thread (in myapp)
|
||||
checkInputs = [ pytest pytestcov mock ] ++ stdenv.lib.optional (!stdenv.isDarwin) watchdog;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user