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:
Artturi 2022-07-18 16:20:54 +03:00 committed by GitHub
commit 3110964916
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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; {