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 tests require the generation of code before execution. This requires
|
||||||
# the protoc-gen-python_betterproto script from the package to be on PATH.
|
# the protoc-gen-python_betterproto script from the package to be on PATH.
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
(($(ulimit -n) < 1024)) && ulimit -n 1024
|
||||||
export PATH=$PATH:$out/bin
|
export PATH=$PATH:$out/bin
|
||||||
patchShebangs src/betterproto/plugin/main.py
|
patchShebangs src/betterproto/plugin/main.py
|
||||||
${python.interpreter} -m tests.generate
|
${python.interpreter} -m tests.generate
|
||||||
|
|
Loading…
Reference in New Issue
Block a user