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 <sandro.jaeckel@gmail.com>
This commit is contained in:
Uri Baghin 2021-05-29 11:23:10 +10:00 committed by GitHub
parent 3ac24a7eb5
commit 48b6b8b8c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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