diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/rust')
-rw-r--r-- | nixpkgs/pkgs/development/tools/rust/cargo-binstall/default.nix | 6 | ||||
-rw-r--r-- | nixpkgs/pkgs/development/tools/rust/cargo-raze/default.nix | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/tools/rust/cargo-binstall/default.nix b/nixpkgs/pkgs/development/tools/rust/cargo-binstall/default.nix index 74b5a5dd3a4d..8613b15aa5ca 100644 --- a/nixpkgs/pkgs/development/tools/rust/cargo-binstall/default.nix +++ b/nixpkgs/pkgs/development/tools/rust/cargo-binstall/default.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "cargo-binstall"; - version = "1.4.5"; + version = "1.4.6"; src = fetchFromGitHub { owner = "cargo-bins"; repo = "cargo-binstall"; rev = "v${version}"; - hash = "sha256-OVtSvlmMRngxhUeq4u+exVc7WQUqBnksDpb8esbly9Y="; + hash = "sha256-zCivxYHhaVqzPe3qBUKXgMgEE6niGqkHJM77rfEUoFo="; }; - cargoHash = "sha256-3OuyN+nm2t+LH8lue3xYoBQp7OYjzhDbnc2LCGqFJgY="; + cargoHash = "sha256-O8X+oLKhKeQGeUrsRVeakZjaMKPiXdIns48rV8Q9JA8="; nativeBuildInputs = [ pkg-config diff --git a/nixpkgs/pkgs/development/tools/rust/cargo-raze/default.nix b/nixpkgs/pkgs/development/tools/rust/cargo-raze/default.nix index 295ac413fe3e..b87d9d4570b6 100644 --- a/nixpkgs/pkgs/development/tools/rust/cargo-raze/default.nix +++ b/nixpkgs/pkgs/development/tools/rust/cargo-raze/default.nix @@ -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; { |