summary refs log tree commit diff
path: root/pkgs/development/python-modules/hupper
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2017-11-20 09:08:27 -0500
committerDan Peebles <pumpkin@me.com>2017-11-20 09:08:50 -0500
commit73c30b68e9b5f8b95ce93d5a593780c4f477f9de (patch)
treeebcd2063ce413f1727a0071adfa4ac4da6c13c34 /pkgs/development/python-modules/hupper
parentd5dceefa71dc3323501c14bfb44528107124149f (diff)
downloadnixpkgs-73c30b68e9b5f8b95ce93d5a593780c4f477f9de.tar
nixpkgs-73c30b68e9b5f8b95ce93d5a593780c4f477f9de.tar.gz
nixpkgs-73c30b68e9b5f8b95ce93d5a593780c4f477f9de.tar.bz2
nixpkgs-73c30b68e9b5f8b95ce93d5a593780c4f477f9de.tar.lz
nixpkgs-73c30b68e9b5f8b95ce93d5a593780c4f477f9de.tar.xz
nixpkgs-73c30b68e9b5f8b95ce93d5a593780c4f477f9de.tar.zst
nixpkgs-73c30b68e9b5f8b95ce93d5a593780c4f477f9de.zip
hupper: fix tests on Darwin
Diffstat (limited to 'pkgs/development/python-modules/hupper')
-rw-r--r--pkgs/development/python-modules/hupper/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/hupper/default.nix b/pkgs/development/python-modules/hupper/default.nix
index 3a8426e201f..8002ae478cb 100644
--- a/pkgs/development/python-modules/hupper/default.nix
+++ b/pkgs/development/python-modules/hupper/default.nix
@@ -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;
 }