Merge pull request #267265 from boltzmannrain/cargo_raze_darwin_tests

This commit is contained in:
Artturi 2023-11-19 14:42:53 +02:00 committed by GitHub
commit 62724e4c45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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