summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-11-19 03:16:55 +0100
committerGitHub <noreply@github.com>2023-11-19 03:16:55 +0100
commit29255a37b323beb3ac463b3b331153f21baae48c (patch)
tree0590ebb15b32bba20e5318c4ff04c07bc2cbe53a /pkgs/development
parent985a00b9c3bd235f99e9b6f07ca754b605ee9a50 (diff)
parent0d7b6f9064e606a802ebedf883ac49474cf7fc92 (diff)
downloadnixpkgs-29255a37b323beb3ac463b3b331153f21baae48c.tar
nixpkgs-29255a37b323beb3ac463b3b331153f21baae48c.tar.gz
nixpkgs-29255a37b323beb3ac463b3b331153f21baae48c.tar.bz2
nixpkgs-29255a37b323beb3ac463b3b331153f21baae48c.tar.lz
nixpkgs-29255a37b323beb3ac463b3b331153f21baae48c.tar.xz
nixpkgs-29255a37b323beb3ac463b3b331153f21baae48c.tar.zst
nixpkgs-29255a37b323beb3ac463b3b331153f21baae48c.zip
Merge pull request #268271 from tu-maurice/fix-darwin/python-circus
python311Packages.circus: fix tests on darwin
Diffstat (limited to 'pkgs/development')
-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"