mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 20:48:32 +03:00
Merge pull request #310101 from annaleeleaves/betterproto-moar-fd
python312Packages.betterproto: increase file descriptor limit
This commit is contained in:
commit
24cd5fdb81
@ -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