Merge pull request #181297 from pbsds/polaris-os-24
polaris: fix Os error 24: 'Too many open files' in checkPhase
This commit is contained in:
commit
3110964916
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