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:
parent
22f07d544d
commit
02906974ec
1 changed files with 5 additions and 0 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue