mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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
@ -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 New Issue
Block a user