python39Packages.sanic: fix build on darwin

OSError: [Errno 24] Too many open files

https://hydra.nixos.org/build/176212923
This commit is contained in:
Artturin
2022-05-16 04:55:39 +03:00
parent cd273cd6ba
commit b2b2282f5d
@@ -82,6 +82,9 @@ buildPythonPackage rec {
# needed for relative paths for some packages
cd tests
'' + lib.optionalString stdenv.isDarwin ''
# OSError: [Errno 24] Too many open files
ulimit -n 1024
'';
# uvloop usage is buggy