From 48b6b8b8c663a20fbe7969bed1d6381341106762 Mon Sep 17 00:00:00 2001 From: Uri Baghin Date: Sat, 29 May 2021 11:23:10 +1000 Subject: [PATCH] cargo-raze: fix darwin (#124343) * cargo-raze: fix darwin Disable tests on darwin as they've started failing after the latest update: https://github.com/NixOS/nixpkgs/pull/119531 Example failure: https://hydra.nixos.org/build/143411545 * Update pkgs/development/tools/rust/cargo-raze/default.nix Co-authored-by: Sandro --- pkgs/development/tools/rust/cargo-raze/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/rust/cargo-raze/default.nix b/pkgs/development/tools/rust/cargo-raze/default.nix index 2e75c08b42bb..0299fe516d94 100644 --- a/pkgs/development/tools/rust/cargo-raze/default.nix +++ b/pkgs/development/tools/rust/cargo-raze/default.nix @@ -19,7 +19,9 @@ rustPlatform.buildRustPackage rec { buildInputs = [ curl libgit2 openssl ] ++ lib.optional stdenv.isDarwin Security; - doCheck = true; + # thread 'main' panicked at 'Cannot ping mock server.: "cannot send request to mock server: cannot send request to mock server: failed to resolve host name"' + # __darwinAllowLocalNetworking does not fix the panic + doCheck = !stdenv.isDarwin; meta = with lib; { description = "Generate Bazel BUILD files from Cargo dependencies";