mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
python312Packages.betterproto: increase file descriptor limit
This commit is contained in:
parent
4a451cb3ce
commit
5c0b2dc2e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user