Merge pull request #267265 from boltzmannrain/cargo_raze_darwin_tests
This commit is contained in:
commit
62724e4c45
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,12 @@ rustPlatform.buildRustPackage rec {
|
|||
]
|
||||
++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
preCheck = lib.optionalString stdenv.isDarwin ''
|
||||
# Darwin issue: Os { code: 24, kind: Uncategorized, message: "Too many open files" }
|
||||
# https://github.com/google/cargo-raze/issues/544
|
||||
ulimit -n 1024
|
||||
'';
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue