summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authortu-maurice <valentin.gehrke@zom.bi>2023-11-18 11:08:10 +0100
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-11-18 17:24:11 +0100
commit0d7b6f9064e606a802ebedf883ac49474cf7fc92 (patch)
tree5ef5d7fa83547d7cf961f4919195f002ec845de1 /pkgs/development/python-modules
parentf9391924e24a69c1ef8d34b2a18934e197dbdb0e (diff)
downloadnixpkgs-0d7b6f9064e606a802ebedf883ac49474cf7fc92.tar
nixpkgs-0d7b6f9064e606a802ebedf883ac49474cf7fc92.tar.gz
nixpkgs-0d7b6f9064e606a802ebedf883ac49474cf7fc92.tar.bz2
nixpkgs-0d7b6f9064e606a802ebedf883ac49474cf7fc92.tar.lz
nixpkgs-0d7b6f9064e606a802ebedf883ac49474cf7fc92.tar.xz
nixpkgs-0d7b6f9064e606a802ebedf883ac49474cf7fc92.tar.zst
nixpkgs-0d7b6f9064e606a802ebedf883ac49474cf7fc92.zip
python311Packages.circus: fix tests on darwin
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/circus/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/circus/default.nix b/pkgs/development/python-modules/circus/default.nix
index 90cf6a4be7f..95d29a4401b 100644
--- a/pkgs/development/python-modules/circus/default.nix
+++ b/pkgs/development/python-modules/circus/default.nix
@@ -1,4 +1,5 @@
 { lib
+, stdenv
 , buildPythonPackage
 , fetchPypi
 , flit-core
@@ -34,6 +35,11 @@ buildPythonPackage rec {
     pyyaml
   ];
 
+  # On darwin: Too many open files
+  preCheck = lib.optionalString stdenv.isDarwin ''
+    ulimit -n 1024
+  '';
+
   disabledTests = [
     # these tests raise circus.tests.support.TimeoutException
     "test_reload1"