mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-11 22:54:17 +00:00
Merge pull request #267265 from boltzmannrain/cargo_raze_darwin_tests
This commit is contained in:
commit
62724e4c45
@ -31,6 +31,12 @@ rustPlatform.buildRustPackage rec {
|
|||||||
]
|
]
|
||||||
++ lib.optional stdenv.isDarwin Security;
|
++ 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;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user