Skip to content

Commit

Permalink
hupper: fix tests on Darwin
Browse files Browse the repository at this point in the history
(cherry picked from commit 73c30b6)
  • Loading branch information
copumpkin committed Nov 20, 2017
1 parent 017e977 commit c2a0512
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/development/python-modules/hupper/default.nix
@@ -1,4 +1,4 @@
{ buildPythonPackage, fetchPypi, python
{ stdenv, buildPythonPackage, fetchPypi, python
, pytest, pytestcov, watchdog, mock
}:

Expand All @@ -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;
}

0 comments on commit c2a0512

Please sign in to comment.