From 8dc1b48597eb4f38b324aae56098a664149ab94c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 May 2021 16:50:27 -0400 Subject: [PATCH] cargo-raze: fix darwin (#124343) * cargo-raze: fix darwin Disable tests on darwin as they've started failing after the latest update: #119531 Example failure: https://hydra.nixos.org/build/143411545 * Update pkgs/development/tools/rust/cargo-raze/default.nix Co-authored-by: Sandro (cherry picked from commit 48b6b8b8c663a20fbe7969bed1d6381341106762) --- 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 2e75c08b42b..0299fe516d9 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";