about summary refs log tree commit diff
path: root/pkgs/development/python-modules/betterproto/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/betterproto/default.nix')
-rw-r--r--pkgs/development/python-modules/betterproto/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/betterproto/default.nix b/pkgs/development/python-modules/betterproto/default.nix
index a20daf344f061..5f42d46b1e588 100644
--- a/pkgs/development/python-modules/betterproto/default.nix
+++ b/pkgs/development/python-modules/betterproto/default.nix
@@ -61,6 +61,7 @@ buildPythonPackage rec {
   # The tests require the generation of code before execution. This requires
   # the protoc-gen-python_betterproto script from the package to be on PATH.
   preCheck = ''
+    (($(ulimit -n) < 1024)) && ulimit -n 1024
     export PATH=$PATH:$out/bin
     patchShebangs src/betterproto/plugin/main.py
     ${python.interpreter} -m tests.generate