polaris: fix Os error 24: 'Too many open files' in checkPhase

I set the ulimit to 4096, the default used by Darwin since #173657
This commit is contained in:
Peder Bergebakken Sundt 2022-07-13 01:30:11 +02:00
parent 22f07d544d
commit 02906974ec

View file

@ -38,6 +38,11 @@ rustPlatform.buildRustPackage rec {
cp -a docs/swagger $out/share/polaris-swagger
'';
preCheck = ''
# 'Err' value: Os { code: 24, kind: Uncategorized, message: "Too many open files" }
ulimit -n 4096
'';
passthru.updateScript = ./update.sh;
meta = with lib; {